fix: cfg文件缺失

This commit is contained in:
caoqianming 2023-06-06 15:47:36 +08:00
parent 78054d37d3
commit 358d1d750d
2 changed files with 15 additions and 1 deletions

View File

@ -31,7 +31,7 @@ def make_wechat_articles_full():
df.to_csv('articles_full.csv', encoding='utf-8_sig')
def ana_wechat():
articles_full_path = os.path.jon(wechat_dir, 'articles_full.csv')
articles_full_path = os.path.join(wechat_dir, 'articles_full.csv')
if not os.path.exists(articles_full_path):
make_wechat_articles_full()
df_a = pd.DataFrame(columns = ['公众号', '标题', '地址', '错误表述', '建议修改词语', '错误分类'])

14
scrapy.cfg Normal file
View File

@ -0,0 +1,14 @@
# Automatically created by: scrapy startproject
#
# For more information about the [deploy] section see:
# https://scrapyd.readthedocs.io/en/latest/deploy.html
[settings]
default = zcspider.settings
[scrapyd]
bind_address = 0.0.0.0
[deploy zc1]
# url = http://localhost:6800/
project = zcspider