You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'
The text was updated successfully, but these errors were encountered:
错误带码如下:
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'
The text was updated successfully, but these errors were encountered: