gxtrobot / bustag

a tag and recommend system for old bus driver 给老司机用的一个番号推荐系统
MIT License
3.86k stars 586 forks source link

没有任何更新和推荐数据 #39

Open liuyanze007 opened 4 years ago

liuyanze007 commented 4 years ago

如果不导入任何数据库文件的话,是不是不会自动下载任何数据?我用docker部署上去后,并不显示任何推荐等数据,导入数据库文件后,仍然没有任何更新和推荐,我查看了一下容器的日志,如下 /app, Bottle v0.12.17 server starting up (using PasteServer())..., Listening on http://0.0.0.0:8000/, Hit Ctrl-C to quit., , 2019-10-08 03:52:24,828 - bustag - WARNING - classifier.py - recommend , no data for recommend , 2019-10-08 03:52:25,909 - aspider - WARNING - crawling.py - exit_on_empty_queue , empty queue, now quit , 2019-10-08 03:52:25,909 - aspider - WARNING - crawling.py - crawl , closing the crawler , 2019-10-08 03:52:25,909 - aspider - WARNING - crawling.py - work , canceling the worker , 2019-10-08 03:52:25,909 - aspider - WARNING - crawling.py - work , canceling the worker , 2019-10-08 03:52:25,909 - aspider - WARNING - crawling.py - work , canceling the worker , 2019-10-08 03:52:25,909 - aspider - WARNING - crawling.py - work , canceling the worker ,

gxtrobot commented 4 years ago

貌似 www.cdnbus.bid 这个地址被墙了, ddos, 可能访问太多

修改config.ini的root 为 https://www.busdmm.work , 就可以了

liuyanze007 commented 4 years ago

谢谢,这个又可以用了,之前数据库好久没有更新,目前已经正常,我在国外,倒不需要担心墙的问题。最后一点问题,这个配置文件中可以加入多个地址么?在网址的选择上,只能选取带有类型标签的网址么?

20057842 commented 4 years ago

不能导入之前下载的数据吗?不是打标的数据。

liuyanze007 commented 4 years ago

不能导入之前下载的数据吗?不是打标的数据。

之前导入了从仓库直接下载的数据库文件,但没有任何变化,但第二天我看到有数据更新了,日志也正常了

gxtrobot commented 4 years ago

不能导入之前下载的数据吗?不是打标的数据。

这次因为有部分数据库结构 变化, 所以只是导入打标数据