Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

百度盘自动跳转至新版界面导致无法获取 bdstoken #88

Open
kice opened this issue Mar 11, 2022 · 0 comments
Open

百度盘自动跳转至新版界面导致无法获取 bdstoken #88

kice opened this issue Mar 11, 2022 · 0 comments

Comments

@kice
Copy link

kice commented Mar 11, 2022

url = "http://pan.baidu.com/disk/home"

访问旧版界面会HTTP 302跳转到新版界面,新版界面的bdstoken 使用单独的HTTP GET请求获取: https://pan.baidu.com/api/gettemplatevariable?clienttype=0&app_id=250528&web=1&fields=[%22bdstoken%22,%22token%22,%22uk%22,%22isdocuser%22,%22servertime%22]

暂时可以使用 https://pan.baidu.com/disk/home?stayAtHome=true 获取旧版界面。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant