Comments (4)
Please try one of the following ways:
- Downgrade your requests to 2.6.X
- Change https://github.com/ly0/baidupcsapi/blob/master/baidupcsapi/api.py#L209
ret = self.session.get( 'https://passport.baidu.com/v2/api/?getapi&tpl=mn&apiver=v3&class=login&tt=%s&logintype=dialogLogin&callback=0' % int(time.time())).text.replace('\'', '\"')
to
ret = self.session.get( 'https://passport.baidu.com/v2/api/?getapi&tpl=mn&apiver=v3&class=login&tt=%s&logintype=dialogLogin&callback=0' % int(time.time()), verify=False).text.replace('\'', '\"')
from baidupcsapi.
关闭ssl证书校验可以解决,也方便用mitmproxy调试接口.
from baidupcsapi.
@xm0625 也方便被攻击。
正确的姿势是放弃使用 Python <= 2.7.8。
from baidupcsapi.
Thank you all
from baidupcsapi.
Related Issues (20)
- 远程主机强迫关闭了一个现有的连接,10054 HOT 3
- 邮箱验证 HOT 1
- save_share_list无效 HOT 3
- 无法登录百度网盘问题 HOT 2
- 初始化pcs的时候json解析报错 HOT 9
- 如果无法继续使用的话就请归档吧。
- 这个项目到底是干啥的?README里也没说明白呀
- 使用Aria2 rpc下载大文件时会有很长(约十分钟以上)的时间没有速度
- 中文
- 没获取到bdstoken,错误代码:-6 HOT 1
- 能不能加个扫二维码登录
- save_share_list
- Verification Code>无法验证 HOT 5
- 我的错,md5list要按顺序排列。
- 支持多线程下载吗?
- 请问现在还能用吗?输入验证码无法登录
- 请问下python3是哪个版本3.6.7好像不支持啊 HOT 2
- 下载出现 {"error_code":31296, "error_msg":"internal error"}
- 上传文件个别时候出现上传不了的情况, 会无限不断重试上传
- 多线程上传时, 出现警告"WARNING:urllib3.connectionpool:Connection pool is full, discarding connection: pan.baidu.com"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from baidupcsapi.