8000 python3.6有问题, beta测试版 · Issue #79 · ly0/baidupcsapi · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Oct 6, 2024. It is now read-only.

python3.6有问题, beta测试版 #79

Open
jarrahwu opened this issue Jun 8, 2018 · 2 comments
Open

python3.6有问题, beta测试版 #79

jarrahwu opened this issue Jun 8, 2018 · 2 comments

Comments

@jarrahwu
Copy link
jarrahwu commented Jun 8, 2018

https://github.com/jarrahwu/baidupcsapi/blob/master/baidupcsapi/api.py

有需要的可以当下小白鼠, 环境3.6.. linux.. 亲测可用

@ly0
Copy link
Owner
ly0 commented Jun 8, 2018

Hi, 感谢关注.

想问一下为啥需要检测编码呢?
百度会返回神奇的encoding?

@jarrahwu
Copy link
Author
jarrahwu commented Jun 8, 2018

感谢提供的代码.

因为不检测... re 的时候会有诡异的问题.. 还有py3 base64 也有问题..所以.. 干脆一下子弄了.
神奇地能跑了..

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

No branches or pull requests

2 participants
0