mirror of
https://github.com/JoeanAmier/XHS-Downloader.git
synced 2026-03-22 15:07:17 +08:00
修复批量下载功能
This commit is contained in:
@@ -56,6 +56,9 @@ class XHS:
|
||||
if not html:
|
||||
return {}
|
||||
data = self.explore.run(html)
|
||||
if not data:
|
||||
print(f"获取作品数据失败: {url}")
|
||||
return {}
|
||||
if data["作品类型"] == "视频":
|
||||
self.__get_video(data, html, download)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user