From c484718f06c0d9dbb5b820189a581445dec012d1 Mon Sep 17 00:00:00 2001 From: zapp-brannigan Date: Sun, 27 Jul 2014 17:36:47 +0200 Subject: [Uploadable.ch] New hoster As requested in https://github.com/pyload/pyload/issues/679 --- module/plugins/hoster/UploadableCh.py | 82 +++++++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 module/plugins/hoster/UploadableCh.py (limited to 'module/plugins/hoster/UploadableCh.py') diff --git a/module/plugins/hoster/UploadableCh.py b/module/plugins/hoster/UploadableCh.py new file mode 100644 index 000000000..9d44b17db --- /dev/null +++ b/module/plugins/hoster/UploadableCh.py @@ -0,0 +1,82 @@ +# -*- coding: utf-8 -*- +#Testlink: +#http://www.uploadable.ch/file/JG3nbN6fUCvh/test.txt +# +import re,time +from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo +from module.plugins.ReCaptcha import ReCaptcha + +class UploadableCh(SimpleHoster): + __name__ = "UploadableCh" + __type__ = "hoster" + __pattern__ = r"https?://www.uploadable.ch/file/.*" + __version__ = "0.01" + __description__ = """uploadable.ch hoster plugin""" + __author_name__ = ("zapp-brannigan") + __author_mail__ = ("fuerst.reinje@web.de") + + FILE_INFO_PATTERN = r"""div id=\"file_name\" title=.+>(?P.+)\((?P.*) (?P[kKmMbB]|Bytes)\)<""" + RECAPTCHA_KEY = "6LdlJuwSAAAAAPJbPIoUhyqOJd7-yrah5Nhim5S3" + WAIT_PATTERN = r'data-time=\"(\d+)\" data-format' + FILE_ID = r'name=\"recaptcha_shortencode_field\" value=\"(.+)\"' + FILE_OFFLINE_PATTERN = r'

File not available

' + + def setup(self): + self.multiDL = False + self.chunkLimit = 1 + + def process(self, pyfile): + #Load website and set a cookie + self.html = self.load(pyfile.url, cookies=True, decode=True) + + # Set some vars + base_url = "http://www.uploadable.ch" + file_id = re.search(self.FILE_ID,self.html).group(1) + long_url = base_url+"/file/"+file_id+"/"+self.pyfile.name + not_so_long_url = base_url+"/file/"+file_id + self.logDebug("base_url: "+base_url) + self.logDebug("file_id: "+file_id) + self.logDebug("long_url: "+long_url) + self.logDebug("not_so_long_url: "+not_so_long_url) + + # Click the "free user" button and wait + post_data = { "downloadLink": "wait" } + a = self.load(not_so_long_url, cookies=True, post=post_data, decode=True) + self.logDebug(a) #Expected output: {"waitTime":30} + seconds = re.search(self.WAIT_PATTERN,self.html).group(1) + self.setWait(int(seconds) + 2) + self.wait() + + # Make the recaptcha appear and show it the pyload interface + post_data = { "checkDownload": "check" } + b = self.load(long_url, cookies=True, post=post_data, decode=True) + self.logDebug(b) #Expected output: {"success":"showCaptcha"} + recaptcha = ReCaptcha(self) + challenge, code = recaptcha.challenge(self.RECAPTCHA_KEY) + + # Submit the captcha solution + post_data = {"recaptcha_challenge_field": challenge, "recaptcha_response_field": code, "recaptcha_shortencode_field": file_id} + c = self.load("http://www.uploadable.ch/checkReCaptcha.php", cookies=True, post=post_data, decode=True) + time.sleep(3) + + # Get ready for downloading + post_data = {"downloadLink": "show"} + self.download(not_so_long_url, cookies=True, post=post_data, disposition=True) + time.sleep(3) + + # Download the file + post_data = {"download": "normal"} + self.download(not_so_long_url, cookies=True, post=post_data, disposition=True) + + # Check the downloaded file + check = self.checkDownload({"wait_or_reconnect": re.compile("Please wait for"), "is_html": re.compile("")}) + if check == "wait_or_reconnect": + self.logInfo("Downloadlimit reached, please wait or reconnect") + self.setWait(60*60,True) + self.retry() + elif check == "is_html": + self.logInfo("The downloaded file is html, maybe you entered a wrong captcha") + self.retry() + +getInfo = create_getInfo(UploadableCh) + -- cgit v1.2.3 From b0d0a28d0e35a825c6dc465bcc5963d93b2e4ef4 Mon Sep 17 00:00:00 2001 From: zapp-brannigan Date: Sun, 27 Jul 2014 19:26:52 +0200 Subject: Update UploadableCh.py --- module/plugins/hoster/UploadableCh.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/plugins/hoster/UploadableCh.py') diff --git a/module/plugins/hoster/UploadableCh.py b/module/plugins/hoster/UploadableCh.py index 9d44b17db..9e7396ee8 100644 --- a/module/plugins/hoster/UploadableCh.py +++ b/module/plugins/hoster/UploadableCh.py @@ -56,12 +56,12 @@ class UploadableCh(SimpleHoster): # Submit the captcha solution post_data = {"recaptcha_challenge_field": challenge, "recaptcha_response_field": code, "recaptcha_shortencode_field": file_id} - c = self.load("http://www.uploadable.ch/checkReCaptcha.php", cookies=True, post=post_data, decode=True) + c = self.load(base_url+"/checkReCaptcha.php", cookies=True, post=post_data, decode=True) time.sleep(3) # Get ready for downloading post_data = {"downloadLink": "show"} - self.download(not_so_long_url, cookies=True, post=post_data, disposition=True) + self.load(not_so_long_url, cookies=True, post=post_data, disposition=True) time.sleep(3) # Download the file -- cgit v1.2.3 From 43cdacabfee1a1b917f651d0b72aeae6af0b7e3b Mon Sep 17 00:00:00 2001 From: zapp-brannigan Date: Sun, 27 Jul 2014 19:31:13 +0200 Subject: Update UploadableCh.py --- module/plugins/hoster/UploadableCh.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'module/plugins/hoster/UploadableCh.py') diff --git a/module/plugins/hoster/UploadableCh.py b/module/plugins/hoster/UploadableCh.py index 9e7396ee8..421cda41e 100644 --- a/module/plugins/hoster/UploadableCh.py +++ b/module/plugins/hoster/UploadableCh.py @@ -56,7 +56,7 @@ class UploadableCh(SimpleHoster): # Submit the captcha solution post_data = {"recaptcha_challenge_field": challenge, "recaptcha_response_field": code, "recaptcha_shortencode_field": file_id} - c = self.load(base_url+"/checkReCaptcha.php", cookies=True, post=post_data, decode=True) + self.load(base_url+"/checkReCaptcha.php", cookies=True, post=post_data, decode=True) time.sleep(3) # Get ready for downloading @@ -79,4 +79,3 @@ class UploadableCh(SimpleHoster): self.retry() getInfo = create_getInfo(UploadableCh) - -- cgit v1.2.3 From c7e11410952064fb5437c6c60c27f972ccde0aed Mon Sep 17 00:00:00 2001 From: zapp-brannigan Date: Mon, 28 Jul 2014 17:47:37 +0200 Subject: Update UploadableCh.py --- module/plugins/hoster/UploadableCh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/plugins/hoster/UploadableCh.py') diff --git a/module/plugins/hoster/UploadableCh.py b/module/plugins/hoster/UploadableCh.py index 421cda41e..1dbf9af55 100644 --- a/module/plugins/hoster/UploadableCh.py +++ b/module/plugins/hoster/UploadableCh.py @@ -61,7 +61,7 @@ class UploadableCh(SimpleHoster): # Get ready for downloading post_data = {"downloadLink": "show"} - self.load(not_so_long_url, cookies=True, post=post_data, disposition=True) + self.load(not_so_long_url, cookies=True, post=post_data, decode=True) time.sleep(3) # Download the file -- cgit v1.2.3 From fd082ee5cdaddceb8d4977f4407838811af3a004 Mon Sep 17 00:00:00 2001 From: zapp-brannigan Date: Fri, 1 Aug 2014 18:34:14 +0200 Subject: Update UploadableCh.py --- module/plugins/hoster/UploadableCh.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'module/plugins/hoster/UploadableCh.py') diff --git a/module/plugins/hoster/UploadableCh.py b/module/plugins/hoster/UploadableCh.py index 1dbf9af55..a091a5c1b 100644 --- a/module/plugins/hoster/UploadableCh.py +++ b/module/plugins/hoster/UploadableCh.py @@ -15,7 +15,7 @@ class UploadableCh(SimpleHoster): __author_name__ = ("zapp-brannigan") __author_mail__ = ("fuerst.reinje@web.de") - FILE_INFO_PATTERN = r"""div id=\"file_name\" title=.+>(?P.+)\((?P.*) (?P[kKmMbB]|Bytes)\)<""" + FILE_INFO_PATTERN = r"""div id=\"file_name\" title=.*>(?P.+)\((?P.*) (?P[kKmMgG]?i?[bB].*)\)<""" RECAPTCHA_KEY = "6LdlJuwSAAAAAPJbPIoUhyqOJd7-yrah5Nhim5S3" WAIT_PATTERN = r'data-time=\"(\d+)\" data-format' FILE_ID = r'name=\"recaptcha_shortencode_field\" value=\"(.+)\"' @@ -34,6 +34,7 @@ class UploadableCh(SimpleHoster): file_id = re.search(self.FILE_ID,self.html).group(1) long_url = base_url+"/file/"+file_id+"/"+self.pyfile.name not_so_long_url = base_url+"/file/"+file_id + self.logDebug("filename: "+pyfile.name) self.logDebug("base_url: "+base_url) self.logDebug("file_id: "+file_id) self.logDebug("long_url: "+long_url) @@ -73,6 +74,7 @@ class UploadableCh(SimpleHoster): if check == "wait_or_reconnect": self.logInfo("Downloadlimit reached, please wait or reconnect") self.setWait(60*60,True) + self.wait() self.retry() elif check == "is_html": self.logInfo("The downloaded file is html, maybe you entered a wrong captcha") -- cgit v1.2.3 From cb6eb80875965ba1ab743ab116a861c6c5739194 Mon Sep 17 00:00:00 2001 From: zapp-brannigan Date: Thu, 4 Sep 2014 08:14:52 +0200 Subject: Update UploadableCh.py --- module/plugins/hoster/UploadableCh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/plugins/hoster/UploadableCh.py') diff --git a/module/plugins/hoster/UploadableCh.py b/module/plugins/hoster/UploadableCh.py index a091a5c1b..05ed0247f 100644 --- a/module/plugins/hoster/UploadableCh.py +++ b/module/plugins/hoster/UploadableCh.py @@ -70,7 +70,7 @@ class UploadableCh(SimpleHoster): self.download(not_so_long_url, cookies=True, post=post_data, disposition=True) # Check the downloaded file - check = self.checkDownload({"wait_or_reconnect": re.compile("Please wait for"), "is_html": re.compile("")}) + check = self.checkDownload({"wait_or_reconnect": re.compile("Please wait for"), "is_html": re.compile("")}) if check == "wait_or_reconnect": self.logInfo("Downloadlimit reached, please wait or reconnect") self.setWait(60*60,True) -- cgit v1.2.3 From 42940e8ae7c36c084fac94c54e1a421695620b82 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Thu, 4 Dec 2014 01:18:18 +0100 Subject: [UploadableCh] Cleanup --- module/plugins/hoster/UploadableCh.py | 139 ++++++++++++++++++---------------- 1 file changed, 73 insertions(+), 66 deletions(-) (limited to 'module/plugins/hoster/UploadableCh.py') diff --git a/module/plugins/hoster/UploadableCh.py b/module/plugins/hoster/UploadableCh.py index 05ed0247f..77b3d7d8a 100644 --- a/module/plugins/hoster/UploadableCh.py +++ b/module/plugins/hoster/UploadableCh.py @@ -1,83 +1,90 @@ # -*- coding: utf-8 -*- -#Testlink: -#http://www.uploadable.ch/file/JG3nbN6fUCvh/test.txt -# -import re,time + +import re + +from time import sleep + +from module.plugins.internal.CaptchaService import ReCaptcha from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo -from module.plugins.ReCaptcha import ReCaptcha + class UploadableCh(SimpleHoster): - __name__ = "UploadableCh" - __type__ = "hoster" - __pattern__ = r"https?://www.uploadable.ch/file/.*" - __version__ = "0.01" - __description__ = """uploadable.ch hoster plugin""" - __author_name__ = ("zapp-brannigan") - __author_mail__ = ("fuerst.reinje@web.de") - - FILE_INFO_PATTERN = r"""div id=\"file_name\" title=.*>(?P.+)\((?P.*) (?P[kKmMgG]?i?[bB].*)\)<""" - RECAPTCHA_KEY = "6LdlJuwSAAAAAPJbPIoUhyqOJd7-yrah5Nhim5S3" - WAIT_PATTERN = r'data-time=\"(\d+)\" data-format' - FILE_ID = r'name=\"recaptcha_shortencode_field\" value=\"(.+)\"' - FILE_OFFLINE_PATTERN = r'

File not available

' - + __name__ = "UploadableCh" + __type__ = "hoster" + __version__ = "0.02" + + __pattern__ = r'http://(?:www\.)?uploadable\.ch/file/(?P\w+)' + + __description__ = """Uploadable.ch hoster plugin""" + __license__ = "GPLv3" + __authors__ = [("zapp-brannigan", "fuerst.reinje@web.de"), + ("Walter Purcaro", "vuolter@gmail.com")] + + + FILE_INFO_PATTERN = r'div id=\"file_name\" title=.*>(?P.+)\((?P[\d.]+) (?P\w+)\)<' + + OFFLINE_PATTERN = r'>(File not available|This file is no longer available)' + TEMP_OFFLINE_PATTERN = r'
' + + WAIT_PATTERN = r'data-time="(\d+)" data-format' + + FILE_URL_REPLACEMENTS = [(__pattern__ + ".*", r'http://www.uploadable.ch/file/\g')] + + def setup(self): - self.multiDL = False + self.multiDL = False self.chunkLimit = 1 - - def process(self, pyfile): - #Load website and set a cookie - self.html = self.load(pyfile.url, cookies=True, decode=True) - - # Set some vars - base_url = "http://www.uploadable.ch" - file_id = re.search(self.FILE_ID,self.html).group(1) - long_url = base_url+"/file/"+file_id+"/"+self.pyfile.name - not_so_long_url = base_url+"/file/"+file_id - self.logDebug("filename: "+pyfile.name) - self.logDebug("base_url: "+base_url) - self.logDebug("file_id: "+file_id) - self.logDebug("long_url: "+long_url) - self.logDebug("not_so_long_url: "+not_so_long_url) - + + + def handleFree(self): # Click the "free user" button and wait - post_data = { "downloadLink": "wait" } - a = self.load(not_so_long_url, cookies=True, post=post_data, decode=True) - self.logDebug(a) #Expected output: {"waitTime":30} - seconds = re.search(self.WAIT_PATTERN,self.html).group(1) - self.setWait(int(seconds) + 2) - self.wait() - + a = self.load(self.pyfile.url, cookies=True, post={'downloadLink': "wait"}, decode=True) + self.logDebug(a) + + m = re.search(self.WAIT_PATTERN, a) + if m is not None: + self.wait(int(m.group(1))) #: Expected output: {"waitTime":30} + else: + self.error("WAIT_PATTERN") + # Make the recaptcha appear and show it the pyload interface - post_data = { "checkDownload": "check" } - b = self.load(long_url, cookies=True, post=post_data, decode=True) - self.logDebug(b) #Expected output: {"success":"showCaptcha"} + b = self.load(self.pyfile.url, cookies=True, post={'checkDownload': "check"}, decode=True) + self.logDebug(b) #: Expected output: {"success":"showCaptcha"} + recaptcha = ReCaptcha(self) - challenge, code = recaptcha.challenge(self.RECAPTCHA_KEY) - + + challenge, captcha = recaptcha.challenge(self.RECAPTCHA_KEY) + # Submit the captcha solution - post_data = {"recaptcha_challenge_field": challenge, "recaptcha_response_field": code, "recaptcha_shortencode_field": file_id} - self.load(base_url+"/checkReCaptcha.php", cookies=True, post=post_data, decode=True) - time.sleep(3) - + self.load("http://www.uploadable.ch/checkReCaptcha.php", + cookies=True, + post={'recaptcha_challenge_field' : challenge, + 'recaptcha_response_field' : captcha, + 'recaptcha_shortencode_field': self.info['ID']}, + decode=True) + + self.wait(3) + # Get ready for downloading - post_data = {"downloadLink": "show"} - self.load(not_so_long_url, cookies=True, post=post_data, decode=True) - time.sleep(3) - + self.load(self.pyfile.url, cookies=True, post={'downloadLink': "show"}, decode=True) + + self.wait(3) + # Download the file - post_data = {"download": "normal"} - self.download(not_so_long_url, cookies=True, post=post_data, disposition=True) - - # Check the downloaded file - check = self.checkDownload({"wait_or_reconnect": re.compile("Please wait for"), "is_html": re.compile("")}) + self.download(self.pyfile.url, cookies=True, post={'download': "normal"}, disposition=True) + + + def checkFile(self): + check = self.checkDownload({'wait_or_reconnect': re.compile("Please wait for"), + 'is_html' : re.compile("")}) + if check == "wait_or_reconnect": self.logInfo("Downloadlimit reached, please wait or reconnect") - self.setWait(60*60,True) - self.wait() + self.wait(60 * 60, True) self.retry() + elif check == "is_html": - self.logInfo("The downloaded file is html, maybe you entered a wrong captcha") - self.retry() - + self.error("Downloaded file is an html file") + + getInfo = create_getInfo(UploadableCh) -- cgit v1.2.3 From 4d578cb15f3d6edd036e438e504739b97660f93e Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Tue, 9 Dec 2014 16:58:35 +0100 Subject: Spare code cosmetics --- module/plugins/hoster/UploadableCh.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/plugins/hoster/UploadableCh.py') diff --git a/module/plugins/hoster/UploadableCh.py b/module/plugins/hoster/UploadableCh.py index 77b3d7d8a..3dd796900 100644 --- a/module/plugins/hoster/UploadableCh.py +++ b/module/plugins/hoster/UploadableCh.py @@ -53,13 +53,13 @@ class UploadableCh(SimpleHoster): recaptcha = ReCaptcha(self) - challenge, captcha = recaptcha.challenge(self.RECAPTCHA_KEY) + challenge, response = recaptcha.challenge(self.RECAPTCHA_KEY) # Submit the captcha solution self.load("http://www.uploadable.ch/checkReCaptcha.php", cookies=True, post={'recaptcha_challenge_field' : challenge, - 'recaptcha_response_field' : captcha, + 'recaptcha_response_field' : response, 'recaptcha_shortencode_field': self.info['ID']}, decode=True) -- cgit v1.2.3 From 07792444b38d993eb698fe0f1db4a6bc59cb486a Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Tue, 16 Dec 2014 15:23:11 +0100 Subject: [UploadableCh] Fixup (thx user01) --- module/plugins/hoster/UploadableCh.py | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'module/plugins/hoster/UploadableCh.py') diff --git a/module/plugins/hoster/UploadableCh.py b/module/plugins/hoster/UploadableCh.py index 3dd796900..1310ded36 100644 --- a/module/plugins/hoster/UploadableCh.py +++ b/module/plugins/hoster/UploadableCh.py @@ -11,7 +11,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo class UploadableCh(SimpleHoster): __name__ = "UploadableCh" __type__ = "hoster" - __version__ = "0.02" + __version__ = "0.03" __pattern__ = r'http://(?:www\.)?uploadable\.ch/file/(?P\w+)' @@ -21,14 +21,16 @@ class UploadableCh(SimpleHoster): ("Walter Purcaro", "vuolter@gmail.com")] + FILE_URL_REPLACEMENTS = [(__pattern__ + ".*", r'http://www.uploadable.ch/file/\g')] + FILE_INFO_PATTERN = r'div id=\"file_name\" title=.*>(?P.+)\((?P[\d.]+) (?P\w+)\)<' OFFLINE_PATTERN = r'>(File not available|This file is no longer available)' TEMP_OFFLINE_PATTERN = r'
' - WAIT_PATTERN = r'data-time="(\d+)" data-format' + WAIT_PATTERN = r'>Please wait.+?<' - FILE_URL_REPLACEMENTS = [(__pattern__ + ".*", r'http://www.uploadable.ch/file/\g')] + RECAPTCHA_KEY = "6LdlJuwSAAAAAPJbPIoUhyqOJd7-yrah5Nhim5S3" def setup(self): @@ -41,11 +43,7 @@ class UploadableCh(SimpleHoster): a = self.load(self.pyfile.url, cookies=True, post={'downloadLink': "wait"}, decode=True) self.logDebug(a) - m = re.search(self.WAIT_PATTERN, a) - if m is not None: - self.wait(int(m.group(1))) #: Expected output: {"waitTime":30} - else: - self.error("WAIT_PATTERN") + self.wait(30) # Make the recaptcha appear and show it the pyload interface b = self.load(self.pyfile.url, cookies=True, post={'checkDownload': "check"}, decode=True) @@ -60,7 +58,7 @@ class UploadableCh(SimpleHoster): cookies=True, post={'recaptcha_challenge_field' : challenge, 'recaptcha_response_field' : response, - 'recaptcha_shortencode_field': self.info['ID']}, + 'recaptcha_shortencode_field': self.info['pattern']['ID']}, decode=True) self.wait(3) -- cgit v1.2.3 From 4e9c8f7ab1269966a9eac9e1b6363f5458f9f970 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Thu, 18 Dec 2014 16:07:21 +0100 Subject: Update checkFile routine in some hoster plugins --- module/plugins/hoster/UploadableCh.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'module/plugins/hoster/UploadableCh.py') diff --git a/module/plugins/hoster/UploadableCh.py b/module/plugins/hoster/UploadableCh.py index 1310ded36..6d8a032e9 100644 --- a/module/plugins/hoster/UploadableCh.py +++ b/module/plugins/hoster/UploadableCh.py @@ -11,7 +11,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo class UploadableCh(SimpleHoster): __name__ = "UploadableCh" __type__ = "hoster" - __version__ = "0.03" + __version__ = "0.04" __pattern__ = r'http://(?:www\.)?uploadable\.ch/file/(?P\w+)' @@ -73,6 +73,8 @@ class UploadableCh(SimpleHoster): def checkFile(self): + super(UploadableCh, self).checkFile() + check = self.checkDownload({'wait_or_reconnect': re.compile("Please wait for"), 'is_html' : re.compile("")}) -- cgit v1.2.3 From f23eea11a1db7b742684c2cace195748dd684020 Mon Sep 17 00:00:00 2001 From: gsasch Date: Tue, 30 Dec 2014 02:15:15 +0100 Subject: [UploadableCh] Account --- module/plugins/hoster/UploadableCh.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'module/plugins/hoster/UploadableCh.py') diff --git a/module/plugins/hoster/UploadableCh.py b/module/plugins/hoster/UploadableCh.py index 6d8a032e9..b09e3ded4 100644 --- a/module/plugins/hoster/UploadableCh.py +++ b/module/plugins/hoster/UploadableCh.py @@ -11,7 +11,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo class UploadableCh(SimpleHoster): __name__ = "UploadableCh" __type__ = "hoster" - __version__ = "0.04" + __version__ = "0.05" __pattern__ = r'http://(?:www\.)?uploadable\.ch/file/(?P\w+)' @@ -33,11 +33,6 @@ class UploadableCh(SimpleHoster): RECAPTCHA_KEY = "6LdlJuwSAAAAAPJbPIoUhyqOJd7-yrah5Nhim5S3" - def setup(self): - self.multiDL = False - self.chunkLimit = 1 - - def handleFree(self): # Click the "free user" button and wait a = self.load(self.pyfile.url, cookies=True, post={'downloadLink': "wait"}, decode=True) -- cgit v1.2.3