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

爬取中出现错误'latin-1' codec can't encode characters in position 0-6: ordinal not in range(256) #34

Closed
Kimchuls opened this issue May 26, 2021 · 2 comments

Comments

@Kimchuls
Copy link

File "F:\anaconda_python3.7\anaconda_install\lib\http\client.py", line 1217, in putheader
values[i] = one_value.encode('latin-1')
UnicodeEncodeError: 'latin-1' codec can't encode characters in position 0-6: ordinal not in range(256)

@ATuxedo
Copy link

ATuxedo commented May 30, 2021

你这个问题大概是cookie没有设置好

@inspurer
Copy link
Member

inspurer commented Sep 3, 2021

已更新新版本

@inspurer inspurer closed this as completed Sep 3, 2021
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

3 participants