Code Monkey home page Code Monkey logo

dmusic-plugin-baidumusic's Introduction

百度音乐插件(深度音乐播放器)

特性

  • 支持百度账号登录
  • 可以管理本地试听列表
  • 可以管理在线歌单
  • 支持收藏歌曲并同步
  • 高质量音频(320kbps)

LinuxDeepin系统安装方法

  1. 安装依赖
sudo apt-get install python-javascriptcore git
  1. 安装百度音乐插件
git clone https://github.com/sumary/dmusic-plugin-baidumusic.git
cd dmusic-plugin-baidumusic
cp -r baidumusic ~/.local/share/deepin-music-player/plugins/

其它Linux发行版

  1. 安装 cython libwebkitgtk-dev python-dev git, 例如:
sudo apt-get install cython libwebkitgtk-dev python-dev git
  1. 安装pyjavascriptcore
git clone https://github.com/sumary/pyjavascriptcore.git
cd pyjavascriptcore
sudo python setup.py install
  1. 安装百度音乐插件
git clone https://github.com/sumary/dmusic-plugin-baidumusic.git
cd dmusic-plugin-baidumusic
cp -r baidumusic ~/.local/share/deepin-music-player/plugins/

使用

运行深度音乐, 选项设置->附加组件 中启用百度音乐即可

贡献者

dmusic-plugin-baidumusic's People

Contributors

binyuj avatar

Watchers

 avatar  avatar

dmusic-plugin-baidumusic's Issues

新百度接口

首页

GET
http://musicmini2014.baidu.com/2016/static/recommend/recommend.html

?用户

?GET
http://musicmini2014.baidu.com/2016/app/user/userInfo.php

标签

Host:  tingapi.ting.baidu.com

URI: /v1/restserver/ting?method=baidu.ting.ugcdiy.getChannels&timestamp=1502772441&param=uX/F7M5VDLRjMpoJu0mQslax6rBzGTs4ojmo71LVPmJofdXNnbEVEWBrrMemxd9VQWby3AMNByWpsuXLpHRwOw==&sign=71b1c40ed2794faa8a35f1079605fc4d&project=tpass

URI: /v1/restserver/ting?method=baidu.ting.ugccenter.getBuyRecord&timestamp=1502772442&param=YDKg5UvGZ1nKKA+ITMcQOdS4VGY9HbcBH2R3va/KSGN6LM+hHxgKMwcnIUbgxpEyf3xHmYBABOsGrGJuuioL1oo70bQmtxKxCa1apPTkRXXjnjnIWBfgiZGCFWvLLH4G&sign=3792ee25c8607e425e343ea2b13afa01

URI: /v1/restserver/ting?method=baidu.ting.ugcmsg.getCommentListByType&timestamp=1502772442&param=YDKg5UvGZ1nKKA+ITMcQOdS4VGY9HbcBH2R3va/KSGN6LM+hHxgKMwcnIUbgxpEyEGHHG/Rr50+eNjqsDXvacpqMkpriJJFAn063iiw2QekNzbxmVQhtoiaQIU2+itcO&sign=3e8ad166b2d8f74420837b540c9

URI: /v1/restserver/ting?method=baidu.ting.ugcdiy.userList&timestamp=1502772452&param=6YdHqsubKEP69MOOhxE57taP1DhFspS6rVcLy0XsZke7f8/NYm0L36p1RFjAvDuAYuFpGZBmKADCBAzHGWiK6wDV1y1T/XoIMRyiOeQeNhvLT6fDNVb3dlY4/pQDzS/Z&sign=a58f306e9aba88ba157900e9b7fb6334&projec
- Http: Request, GET /2016/static/recommend/recommend.html 
    Command: GET
  - URI: /2016/static/recommend/recommend.html
     Location: /2016/static/recommend/recommend.html 
    ProtocolVersion: HTTP/1.1
    Accept:  application/x-ms-application, image/jpeg, application/xaml+xml, image/gif, image/pjpeg, application/x-ms-xbap, */*
    Accept-Language:  zh-CN
    Accept-Encoding:  gzip, deflate
    UserAgent:  Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/7.0)
    Host:  musicmini2014.baidu.com
    Connection:  Keep-Alive
  - Cookie:  Hm_lvt_8af580e2bcdcb3c180d1bdd37ab30a71=1502770835,1502771141; Hm_lvt_d9ae3916b55dea6444f28d1a539c1984=1502770835,1502771141; BIDUPSID=53FA858EA9E8315B526D615AC3A8E954; BAIDUID=BEA494CAE14BB26B3CD732E3BAAD2F16:FG=1; PSTM=1500959897; pgv_pvi=122312294
      Hm_lvt_8af580e2bcdcb3c180d1bdd37ab30a71: 1502770835,1502771141
      Hm_lvt_d9ae3916b55dea6444f28d1a539c1984: 1502770835,1502771141
      BIDUPSID: 53FA858EA9E8315B526D615AC3A8E954
      BAIDUID: BEA494CAE14BB26B3CD732E3BAAD2F16:FG=1
      PSTM: 1500959897
      pgv_pvi: 1223122944

    HeaderEnd: CRLF
Query:method=baidu.ting.ugcdiy.getChannels&timestamp=1502772441&param=uX/F7M5VDLRjMpoJu0mQslax6rBzGTs4ojmo71LVPmJofdXNnbEVEWBrrMemxd9VQWby3AMNByWpsuXLpHRwOw==&sign=71b1c40ed2794faa8a35f1079605fc4d&project=tpass
    Command: GET
  - URI: /v1/restserver/ting?method=baidu.ting.ugcdiy.getChannels&timestamp=1502772441&param=uX/F7M5VDLRjMpoJu0mQslax6rBzGTs4ojmo71LVPmJofdXNnbEVEWBrrMemxd9VQWby3AMNByWpsuXLpHRwOw==&sign=71b1c40ed2794faa8a35f1079605fc4d&project=tpass
     Location: /v1/restserver/ting
   - Parameters: 0x1
      method: baidu.ting.ugcdiy.getChannels
      timestamp: 1502772441
      param: uX/F7M5VDLRjMpoJu0mQslax6rBzGTs4ojmo71LVPmJofdXNnbEVEWBrrMemxd9VQWby3AMNByWpsuXLpHRwOw==
      sign: 71b1c40ed2794faa8a35f1079605fc4d
      project: tpass 
    ProtocolVersion: HTTP/1.1
    Connection:  Keep-Alive
    Referer:  http://pc.music.baidu.com
    UserAgent:  bmpc_1.0.0
    Host:  tingapi.ting.baidu.com
    HeaderEnd: CRLF
- Http: Request, GET /v1/restserver/ting, Query:method=baidu.ting.ugcdiy.getChannels&timestamp=1502772441&param=uX/F7M5VDLRjMpoJu0mQslax6rBzGTs4ojmo71LVPmJofdXNnbEVEWBrrMemxd9VQWby3AMNByWpsuXLpHRwOw==&sign=71b1c40ed2794faa8a35f1079605fc4d&project=tpass
    Command: GET
  - URI: /v1/restserver/ting?method=baidu.ting.ugcdiy.getChannels&timestamp=1502772441&param=uX/F7M5VDLRjMpoJu0mQslax6rBzGTs4ojmo71LVPmJofdXNnbEVEWBrrMemxd9VQWby3AMNByWpsuXLpHRwOw==&sign=71b1c40ed2794faa8a35f1079605fc4d&project=tpass
     Location: /v1/restserver/ting
   - Parameters: 0x1
      method: baidu.ting.ugcdiy.getChannels
      timestamp: 1502772441
      param: uX/F7M5VDLRjMpoJu0mQslax6rBzGTs4ojmo71LVPmJofdXNnbEVEWBrrMemxd9VQWby3AMNByWpsuXLpHRwOw==
      sign: 71b1c40ed2794faa8a35f1079605fc4d
      project: tpass 
    ProtocolVersion: HTTP/1.1
    Connection:  Keep-Alive
    Referer:  http://pc.music.baidu.com
    UserAgent:  bmpc_1.0.0
    Host:  tingapi.ting.baidu.com
    HeaderEnd: CRLF

播放地址

http://tingapi.ting.baidu.com/v1/restserver/ting?method=baidu.ting.song.play&songid=243095604

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.