summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/FileserveCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/FileserveCom.py')
-rw-r--r--module/plugins/hoster/FileserveCom.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/module/plugins/hoster/FileserveCom.py b/module/plugins/hoster/FileserveCom.py
index 161aad739..39430aef6 100644
--- a/module/plugins/hoster/FileserveCom.py
+++ b/module/plugins/hoster/FileserveCom.py
@@ -80,7 +80,11 @@ class FileserveCom(Hoster):
self.retry()
wait = self.load(self.pyfile.url, post={"downloadLink":"wait"})
- self.setWait(int(wait)+3)
+ try:
+ self.setWait(int(wait)+3)
+ except:
+ # response looks strange like: wait = '\xef\xbb\xbf35'
+ self.setWait(int(wait[-2:]))
self.wait()
# show download link