mirror of
https://github.com/JoeanAmier/XHS-Downloader.git
synced 2026-03-22 06:57:16 +08:00
更新代码
This commit is contained in:
@@ -37,6 +37,6 @@ class Html:
|
||||
exceptions.ConnectionError,
|
||||
ReadTimeout,
|
||||
):
|
||||
print("获取网页源码失败!")
|
||||
print("获取网页源码失败,请尝试设置 Cookie 后重试!")
|
||||
return ""
|
||||
return response.text
|
||||
|
||||
Reference in New Issue
Block a user