mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-04-24 06:37:16 -04:00
Tried to fix the issues with bsplayer
This commit is contained in:
parent
29ad8c6122
commit
a555617738
1 changed files with 2 additions and 2 deletions
|
@ -267,7 +267,7 @@ class BSPlayerProvider(Provider):
|
|||
TEST_URL = "http://{}.api.bsplayer-subtitles.com".format(domain)
|
||||
try:
|
||||
logging.debug("Testing BSplayer sub-domain {}".format(TEST_URL))
|
||||
res = self.session.get(TEST_URL, timeout=10)
|
||||
res = self.session.get(TEST_URL, timeout=3)
|
||||
except:
|
||||
continue
|
||||
else:
|
||||
|
@ -280,7 +280,7 @@ class BSPlayerProvider(Provider):
|
|||
)
|
||||
break
|
||||
else:
|
||||
sleep(5)
|
||||
sleep(1)
|
||||
continue
|
||||
|
||||
if self.API_URL_TEMPLATE:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue