We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
vvlaw@archlinux ~/python python baiduwenku.py ✔ 1737 19:38:44 请输入要下载的文库URL地址https://wenku.baidu.com/view/9d22334ca0116c175e0e48bc.html Traceback (most recent call last): File "/home/vvlaw/python/baiduwenku.py", line 101, in main() File "/home/vvlaw/python/baiduwenku.py", line 86, in main content = fetch_url(url) File "/home/vvlaw/python/baiduwenku.py", line 10, in fetch_url return session.get(url).content.decode('gbk') UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 222: illegal multibyte sequence vvlaw@archlinux ~/python
The text was updated successfully, but these errors were encountered:
No branches or pull requests
vvlaw@archlinux ~/python python baiduwenku.py ✔ 1737 19:38:44
请输入要下载的文库URL地址https://wenku.baidu.com/view/9d22334ca0116c175e0e48bc.html
Traceback (most recent call last):
File "/home/vvlaw/python/baiduwenku.py", line 101, in
main()
File "/home/vvlaw/python/baiduwenku.py", line 86, in main
content = fetch_url(url)
File "/home/vvlaw/python/baiduwenku.py", line 10, in fetch_url
return session.get(url).content.decode('gbk')
UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 222: illegal multibyte sequence
vvlaw@archlinux ~/python
The text was updated successfully, but these errors were encountered: