diff --git a/app/indexer/client/_crawl_spider.py b/app/indexer/client/_crawl_spider.py index 6703f1bb..645297d4 100644 --- a/app/indexer/client/_crawl_spider.py +++ b/app/indexer/client/_crawl_spider.py @@ -351,7 +351,7 @@ def crawl_parse(self, request, response): yield Request( link, use_session=True, - render=self.render, + render=False, callback=callback, crawl_depth=crawl_depth+1 ) diff --git a/app/indexer/client/_torrent_spider.py b/app/indexer/client/_torrent_spider.py index 32f91624..ed67d02f 100644 --- a/app/indexer/client/_torrent_spider.py +++ b/app/indexer/client/_torrent_spider.py @@ -250,7 +250,7 @@ def start_requests(self): log.info(f"【Spider】开始请求:{searchurl}") yield feapder.Request(url=searchurl, use_session=True, - render=self.render) + render=False) def download_midware(self, request): request.headers = {