From b2dd4f446ac3e6d9863d0f6d0e3ec4a622c60a84 Mon Sep 17 00:00:00 2001 From: zoidberg10 Date: Thu, 22 Dec 2011 15:16:57 +0100 Subject: closed #466 --- module/plugins/hoster/UploadingCom.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'module/plugins') diff --git a/module/plugins/hoster/UploadingCom.py b/module/plugins/hoster/UploadingCom.py index 3fb2d4ba2..83bbaea82 100644 --- a/module/plugins/hoster/UploadingCom.py +++ b/module/plugins/hoster/UploadingCom.py @@ -80,6 +80,12 @@ class UploadingCom(Hoster): raise Exception("Plugin defect.") def handleFree(self): + found = re.search('

((Daily )?Download Limit)

', self.html[0]) + if found: + self.pyfile.error = found.group(1) + self.logWarning(self.pyfile.error) + self.retry(max_tries=6, wait_time = 21600 if found.group(2) else 900, reason = self.pyfile.error) + self.code = re.search(r'name="code" value="(.*?)"', self.html[0]).group(1) self.fileid = re.search(r'name="file_id" value="(.*?)"', self.html[0]).group(1) -- cgit v1.2.3