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

@ -40,7 +40,7 @@ class TorrentLeech:
},
cookies=self._indexer.get('cookie'),
proxies=self._proxy,
timeout=30
timeout=15
).get_res(url)
torrents = []
if res and res.status_code == 200: