From ae00c325774f119c39c404069702f129b9655d91 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sun, 18 Sep 2011 18:39:51 +0200 Subject: closed #371 --- module/plugins/hoster/ShareonlineBiz.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'module/plugins/hoster') 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 -- cgit v1.2.3