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

建议添加以下代码,避免特殊情况下https请求出现错误 #12

Open
zha0gongz1 opened this issue Jul 27, 2022 · 3 comments

Comments

@zha0gongz1
Copy link

原脚本使用情况:
img

添加修复代码:

import urllib3
...
...
try:
    urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
    response = requests.get(url, verify=False, allow_redirects=False)
except Exception as e:
...
@M0untainShley
Copy link

太牛了师傅,解决了https的证书问题

@tiantop
Copy link

tiantop commented Jan 10, 2023

师傅 问下这是什么情况
93B758E2-DF52-476E-9899-EE0DD959FBEF

@zha0gongz1
Copy link
Author

师傅 问下这是什么情况 93B758E2-DF52-476E-9899-EE0DD959FBEF

缺少queue模块,英文翻译下就知道了,pip安装一下

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