fix timeout

This commit is contained in:
jxxghp
2024-03-25 23:01:50 +08:00
parent 3f8453f054
commit 25e0c25bc6
7 changed files with 8 additions and 8 deletions

View File

@ -95,7 +95,7 @@ class TorrentSpider:
self.render = indexer.get('render')
self.domain = indexer.get('domain')
self.result_num = int(indexer.get('result_num') or 100)
self._timeout = int(indexer.get('timeout') or 30)
self._timeout = int(indexer.get('timeout') or 15)
self.page = page
if self.domain and not str(self.domain).endswith("/"):
self.domain = self.domain + "/"