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

视频爬取失败 #570

Open
asdqwe21212 opened this issue Apr 14, 2024 · 3 comments
Open

视频爬取失败 #570

asdqwe21212 opened this issue Apr 14, 2024 · 3 comments

Comments

@asdqwe21212
Copy link

在日志那里显示2024-04-14 22:37:54,305 - downloader.py - INFO - C:\Users\xiaoming\Desktop\weibo\weiboSpider\weibo\南国早报\img
2024-04-14 22:37:54,305 - downloader.py - INFO - 即将进行视频下载
2024-04-14 22:37:54,306 - downloader.py - INFO - 视频下载完毕,保存路径:
2024-04-14 22:37:54,306 - downloader.py - INFO - C:\Users\xiaoming\Desktop\weibo\weiboSpider\weibo\南国早报\video
但是打开文件后没有视频的存在

屏幕截图 2024-04-15 001300
QQ截图20240415001337

@dataabc
Copy link
Owner

dataabc commented Apr 15, 2024

刚才试了下,能下载啊,可能微博没有视频,因为程序不管有没有视频都会显示视频下载,如果有就下载否则不下载。

@asdqwe21212
Copy link
Author

刚才试了下,能下载啊,可能微博没有视频,因为程序不管有没有视频都会显示视频下载,如果有就下载否则不下载。

有视频的,这是我的json文件
QQ截图20240415125616
这是该微博的视频
QQ截图20240415125658

@dataabc
Copy link
Owner

dataabc commented Apr 15, 2024

当end_date为非now时,是无法获取视频的,您需要改成now才可以。

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

2 participants