fix spelling mistakes

This commit is contained in:
Jared-02 2021-11-07 20:06:28 +08:00
parent 19ea1f4299
commit a6debd0c8d

View File

@ -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)