summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r--module/plugins/hoster/ShareonlineBiz.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/module/plugins/hoster/ShareonlineBiz.py b/module/plugins/hoster/ShareonlineBiz.py
index 03f24a2c9..afc7312f1 100644
--- a/module/plugins/hoster/ShareonlineBiz.py
+++ b/module/plugins/hoster/ShareonlineBiz.py
@@ -111,6 +111,11 @@ class ShareonlineBiz(Hoster):
download_url = b64decode(re.search(file_url_pattern, self.html).group(1))
self.download(download_url)
+
+ check = self.checkDownload({"invalid" : "Dieses Download-Ticket ist ungültig!"})
+ if check == "invalid":
+ self.retry(reason=_("Invalid download ticket"))
+
def handleAPIPremium(self): #should be working better
self.resumeDownload = True