summaryrefslogtreecommitdiffhomepage
path: root/libs
diff options
context:
space:
mode:
authormorpheus65535 <[email protected]>2021-05-06 23:08:16 -0400
committermorpheus65535 <[email protected]>2021-05-06 23:08:16 -0400
commita5556177386207d5635a5e8aeb201bf4f5850186 (patch)
tree76e46fef6f3db96d6688fe18c2a0bf92153b1fad /libs
parent29ad8c61221659a0aa3807d1bee6b30f870d89d1 (diff)
downloadbazarr-a5556177386207d5635a5e8aeb201bf4f5850186.tar.gz
bazarr-a5556177386207d5635a5e8aeb201bf4f5850186.zip
Tried to fix the issues with bsplayer
Diffstat (limited to 'libs')
-rw-r--r--libs/subliminal_patch/providers/bsplayer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/subliminal_patch/providers/bsplayer.py b/libs/subliminal_patch/providers/bsplayer.py
index d1a2d5338..ca40316a7 100644
--- a/libs/subliminal_patch/providers/bsplayer.py
+++ b/libs/subliminal_patch/providers/bsplayer.py
@@ -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: