fix
This commit is contained in:
parent
06677711a8
commit
ea02211edd
@ -49,7 +49,7 @@ class RmComicSpider(scrapy.Spider):
|
|||||||
# 校验繁体和简体中文CBZ路径是否存在
|
# 校验繁体和简体中文CBZ路径是否存在
|
||||||
if cbz_path !=None and os.path.exists(cbz_path):
|
if cbz_path !=None and os.path.exists(cbz_path):
|
||||||
logging.info(f"漫画 {cbz_path} 已存在, 跳过中...")
|
logging.info(f"漫画 {cbz_path} 已存在, 跳过中...")
|
||||||
# yield item
|
yield item
|
||||||
else:
|
else:
|
||||||
# 开始访问章节链接并跳转到self.parse_chapter
|
# 开始访问章节链接并跳转到self.parse_chapter
|
||||||
yield scrapy.Request(self.main_url+link, meta={'item': item}, callback=self.parse_chapter)
|
yield scrapy.Request(self.main_url+link, meta={'item': item}, callback=self.parse_chapter)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user