summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2013-03-16 20:51:58 +0100
committerGravatar Stefano <l.stickell@yahoo.it> 2013-03-16 20:51:58 +0100
commitb870083b947431d1f1ec86b7dda954943216b352 (patch)
treeb135ca216e1d47872d129bab6c5acbcb43485d30 /module/plugins
parentRyushareCom: Updated to support wait time with minutes (diff)
downloadpyload-b870083b947431d1f1ec86b7dda954943216b352.tar.xz
RapidgatorNet: Fixed bug #46
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/hoster/RapidgatorNet.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/RapidgatorNet.py b/module/plugins/hoster/RapidgatorNet.py
index 8a440d410..6c1c231fe 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.14"
+ __version__ = "0.15"
__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"else {\s*location.href = '(.*?)'"
+ DOWNLOAD_LINK_PATTERN = r"location.href = '([^']+)';\s*}\s*return false;"
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=(.*?)"'