fix spelling mistakes
This commit is contained in:
parent
19ea1f4299
commit
a6debd0c8d
@ -301,7 +301,7 @@ class netflix:
|
||||
with open(file_name, "wb") as f:
|
||||
# 避免ssl错误卡死,关闭requests模块ssl证书验证:verify=False
|
||||
# 关闭后,控制台持续输出警告,建议开启证书验证,取消注释下行代码可以屏蔽
|
||||
#requests.packages.urllib3.diable_warnings()
|
||||
# requests.packages.urllib3.disable_warnings()
|
||||
response = requests.get(url, stream=True, verify=False)
|
||||
# response.encoding = 'UTF-8'
|
||||
f.write(response.content)
|
||||
|
Reference in New Issue
Block a user