dataabc / weibo-crawler

新浪微博爬虫,用python爬取新浪微博数据,并下载微博图片和微博视频
3.33k stars 744 forks source link

CSV文件找不到 #343

Open SASGOGOGO opened 1 year ago

SASGOGOGO commented 1 year ago

有时候可以存在weibo文件夹下,但有些时候脚本结束了也没有这个文件。什么情况?

dataabc commented 1 year ago

是不是在别的文件夹里,一般都会告诉文件保存位置的。

SASGOGOGO commented 1 year ago

单个ID是可以的, 多个ID或者是使用txt赋值的会丢失,是不是因为ID跳转的时候时间太短?

在 2023-02-14 22:20:37,"Chen Lei" @.***> 写道:

是不是在别的文件夹里,一般都会告诉文件保存位置的。

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

dataabc commented 1 year ago

有可能之前txt记录了进度(上一次的时间),再次运行时,这些id没发新微博,就跳过了。

linning00 commented 7 months ago

在weibo.py中import const 和from util import csvutil提示红线需要解决它吗,我用pip install const 下载一直失败

dataabc commented 7 months ago

@linning00 估计你没有完整下载程序,不要只下载weibo.py,其它文件也要下载。