Skip to content

Commit

Permalink
ref(render): 搜索仿真为True有问题,先改为False
Browse files Browse the repository at this point in the history
  • Loading branch information
hsuyelin committed Jan 8, 2024
1 parent befc693 commit 3595ed7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/indexer/client/_crawl_spider.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down
2 changes: 1 addition & 1 deletion app/indexer/client/_torrent_spider.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 3595ed7

Please sign in to comment.