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

部署失败 #1

Open
JackTvT opened this issue Sep 29, 2022 · 5 comments
Open

部署失败 #1

JackTvT opened this issue Sep 29, 2022 · 5 comments

Comments

@JackTvT
Copy link

JackTvT commented Sep 29, 2022

想自己打包部署,报错ModuleNotFoundError: No module named 'TLNewsSpider.spiders_part_A_K'

@casual-silva
Copy link
Owner

TLNewsSpider\settings.py 文件查看下SPIDER_MODULES参数
Such As:
SPIDER_MODULES = ['TLNewsSpider.spiders_part_A_K', 'TLNewsSpider.spiders_part_L_Z']

@JackTvT
Copy link
Author

JackTvT commented Oct 8, 2022

请问系统的爬虫模块需要自己写吗?SPIDER_MODULES = ['TLNewsSpider.spiders_part_A_K', 'TLNewsSpider.spiders_part_L_Z']这个只是一个示例?

@casual-silva
Copy link
Owner

这是基于scrapy的项目

@JackTvT
Copy link
Author

JackTvT commented Oct 8, 2022

您好,能麻烦您把'TLNewsSpider.spiders_part_A_K', 'TLNewsSpider.spiders_part_L_Z'这两个模块给我参考下吗,我在尝试学习做这个,但是毫无头绪,万分感谢

@silvalee01
Copy link

参考 : #9
和 :#2

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