summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
diff options
context:
space:
mode:
authorGravatar TWD <tmp_m_box-xxx@yahoo.it> 2013-02-27 11:57:26 +0100
committerGravatar TWD <tmp_m_box-xxx@yahoo.it> 2013-02-27 11:57:26 +0100
commitab9b151dc520ca3d46b3ce356d427bfcf70b19cf (patch)
tree7895cdafd9971975626112ddcb2bfd62e4d2389e /module/plugins/hoster
parentMerge pull request #19 from kmarty/stable (diff)
downloadpyload-ab9b151dc520ca3d46b3ce356d427bfcf70b19cf.tar.xz
Update module/plugins/hoster/RapidgatorNet.py
bypass RapidGator download manager
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r--module/plugins/hoster/RapidgatorNet.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/RapidgatorNet.py b/module/plugins/hoster/RapidgatorNet.py
index b7e382c4e..750cf81a6 100644
--- a/module/plugins/hoster/RapidgatorNet.py
+++ b/module/plugins/hoster/RapidgatorNet.py
@@ -29,7 +29,7 @@ class RapidgatorNet(SimpleHoster):
__name__ = "RapidgatorNet"
__type__ = "hoster"
__pattern__ = r"http://(?:www\.)?(rapidgator.net)/file/(\d+)"
- __version__ = "0.12"
+ __version__ = "0.13"
__description__ = """rapidgator.net"""
__author_name__ = ("zoidberg","chrox")
@@ -39,7 +39,7 @@ class RapidgatorNet(SimpleHoster):
FILE_OFFLINE_PATTERN = r'<title>File not found</title>'
JSVARS_PATTERN = r"\s+var\s*(startTimerUrl|getDownloadUrl|captchaUrl|fid|secs)\s*=\s*'?(.*?)'?;"
- DOWNLOAD_LINK_PATTERN = r"location.href = '(.*?)'"
+ DOWNLOAD_LINK_PATTERN = r"else {\s*location.href = '(.*?)'"
RECAPTCHA_KEY_PATTERN = r'"http://api.recaptcha.net/challenge?k=(.*?)"'
ADSCAPTCHA_SRC_PATTERN = r'(http://api.adscaptcha.com/Get.aspx[^"\']*)'
SOLVEMEDIA_PATTERN = r'http:\/\/api\.solvemedia\.com\/papi\/challenge\.script\?k=(.*?)"'
@@ -193,4 +193,4 @@ class RapidgatorNet(SimpleHoster):
self.logDebug(url, response)
return json_loads(response)
-getInfo = create_getInfo(RapidgatorNet) \ No newline at end of file
+getInfo = create_getInfo(RapidgatorNet)