ChangxingJiang / CxSpider

长行的爬虫集合:微博、Twitter、玩加、知网、虎牙、斗鱼、B站、WeGame、猫眼、豆瓣、安居客、居理新房
367 stars 106 forks source link

老哥您好 #6

Open GeartSun opened 4 years ago

GeartSun commented 4 years ago

就针对脸书那个爬虫,配置文件需要配置什么,我看要事先从数据库读取一些链接吗,不是很懂学生小白

GeartSun commented 4 years ago

D:\code\CxSpider\venv\Scripts\python.exe D:/code/CxSpider/facebook/user_tweet.py Traceback (most recent call last): File "D:/code/CxSpider/facebook/user_tweet.py", line 297, in mysql_catalogue = tool.mysql_connect("huabang(old)") # 构造MySQL数据库连接对象 File "D:\code\CxSpider\toolkit\mysql.py", line 107, in connect return MySQL(host=env.MYSQL_INFO[name]["Host"], KeyError: 'huabang(old)'

Process finished with exit code 1