Giter VIP home page Giter VIP logo

Comments (5)

zonyitoo avatar zonyitoo commented on August 15, 2024

这是什么的参数?

from doubanfm-qt.

gushiaoke avatar gushiaoke commented on August 15, 2024

url: 'https://api.douban.com/v2/fm/playlist',
qs: {
channel: 0,
from: 'mainsite',
pt: 0.0,
kbps: 128,
formats: 'aac',
alt: 'json',
app_name: 'radio_iphone',
apikey: '02646d3fb69a52ff072d47bf23cef8fd',
client: 's:mobile|y:iOS 10.2|f:115|d:b88146214e19b8a8244c9bc0e2789da68955234d|e:iPhone7,1|m:appstore',
client_id: '02646d3fb69a52ff072d47bf23cef8fd',
icon_cate: 'xlarge',
udid: 'b88146214e19b8a8244c9bc0e2789da68955234d',
douban_udid: 'b635779c65b816b13b330b68921c0f8edc049590',
version: 115,
type: 'n',
user_id: auth.douban_user_id,
expire: auth.expires_in,
token: auth.access_token,
},
headers: {
'User-Agent': 'python-requests/2.18.1',
Authorization: Bearer ${auth.access_token}
}

返回的信息是匿名的,不是我登录的用户的playlist

from doubanfm-qt.

zonyitoo avatar zonyitoo commented on August 15, 2024

原因不明。access token是保证有效的么?

from doubanfm-qt.

gushiaoke avatar gushiaoke commented on August 15, 2024

access_token是即时返回的。并没缓存

from doubanfm-qt.

zonyitoo avatar zonyitoo commented on August 15, 2024

可能doubam又改api了吧。。

from doubanfm-qt.

Related Issues (20)

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.