This commit is contained in:
cwx committed 2023-06-22 22:03:35 +08:00
1 parent e6eadefe34
commit 7672b7c84b
6 files changed
+86 -43

No files matched your search

-1
View File
@@ -19,7 +19,6 @@ class RmComicSpider(scrapy.Spider):
books = books_comic.get_exec(data, str_exec=str_exec)
for book in books:
books_comic.add_value('link', book['id'])
logging.info(f"downloading books %s" % book['name'])
time.sleep(3)
yield scrapy.Request(url=self.start_urls+"/"+book['id'], callback=self.parse_comic)