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

@ -77,7 +77,7 @@ class TNodeSpider:
},
cookies=self._cookie,
proxies=self._proxy,
timeout=30
timeout=15
).post_res(url=self._searchurl, json=params)
torrents = []
if res and res.status_code == 200: