Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scrapy crawl baike最后运行的时候报错 #23

Open
a1173197570 opened this issue Jan 13, 2021 · 2 comments
Open

scrapy crawl baike最后运行的时候报错 #23

a1173197570 opened this issue Jan 13, 2021 · 2 comments

Comments

@a1173197570
Copy link

a1173197570 commented Jan 13, 2021

OSError: [Errno 22] Invalid argument: 'D:\nlp\WEB_KG-master\baike\logs\Thu_Jan_14_03:25:15_2021.log'
image

这要怎么解决

@lixiang0
Copy link
Owner

把“:”去掉或者改成“_”,这是windows文件名命名规则的问题

@chrislouis0106
Copy link

hha,牛啊,这个日志文件目录在windows里不能出现“:”。linux可以的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants