Kyokoning / lofter_crawler

crawler
45 stars 7 forks source link

爬的时候终止,请问什么原因? #10

Open Jreen opened 3 years ago

Jreen commented 3 years ago

代码如下

https://xxxxxxxxxxx.lofter.com/post/xxxxxxxxx Traceback (most recent call last): File "/Users/jreen/lofter_crawler-master/tool/crawler.py", line 33, in < module > save_tag(cfg, str(tag)) File "/Users/jreen/lofter_crawler-master/tool/../lib/user_pigeonhole.py", line 227, in save_tag _capture_blog(single_header, url, hot, cfg) File "/Users/jreen/lofter_crawler-master/tool/../lib/user_pigeonhole.py", line 135, in _capture_blog tag_list = tag_pattern.findall(html)[0].split(',') IndexError: list index out of range