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

cocomanhua抓取失效了 #11

Closed
wesleyx2 opened this issue Jul 31, 2021 · 1 comment
Closed

cocomanhua抓取失效了 #11

wesleyx2 opened this issue Jul 31, 2021 · 1 comment

Comments

@wesleyx2
Copy link

错误带码如下:

2021/07/31 21:18:32 onecomic.config 86 [INFO] loading config. config=config.ini
2021/07/31 21:18:32 onecomic.worker 19 [INFO] set worker. worker=4
Traceback (most recent call last):
File "C:\Python\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Python\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Python\oc\onecomic_main
.py", line 4, in
main()
File "C:\Python\oc\onecomic\cli.py", line 395, in main
comicbook.start_crawler()
File "C:\Python\oc\onecomic\comicbook.py", line 97, in start_crawler
self.refresh()
File "C:\Python\oc\onecomic\comicbook.py", line 100, in refresh
self.comicbook_item = self.crawler.get_comicbook_item()
File "C:\Python\oc\onecomic\site\cocomanhua.py", line 39, in get_comicbook_item
status = soup.find('span', text='状态').parent.a.text
AttributeError: 'NoneType' object has no attribute 'parent'

@hardwarecode
Copy link
Owner

该站点上了Cloudflare,暂时没方案处理

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

2 participants