fix: cfg文件缺失
This commit is contained in:
parent
78054d37d3
commit
358d1d750d
2
main.py
2
main.py
|
@ -31,7 +31,7 @@ def make_wechat_articles_full():
|
||||||
df.to_csv('articles_full.csv', encoding='utf-8_sig')
|
df.to_csv('articles_full.csv', encoding='utf-8_sig')
|
||||||
|
|
||||||
def ana_wechat():
|
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):
|
if not os.path.exists(articles_full_path):
|
||||||
make_wechat_articles_full()
|
make_wechat_articles_full()
|
||||||
df_a = pd.DataFrame(columns = ['公众号', '标题', '地址', '错误表述', '建议修改词语', '错误分类'])
|
df_a = pd.DataFrame(columns = ['公众号', '标题', '地址', '错误表述', '建议修改词语', '错误分类'])
|
||||||
|
|
|
@ -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
|
Loading…
Reference in New Issue