summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2013-08-12 16:02:09 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2013-08-12 16:02:09 +0200
commite3747bb502a8a09ecea1e9b00628e9705568eebf (patch)
treeb50afeffcfb4d911d82a45f2cc3e7337c36e506c /module/plugins
parentUnrestrictLi: merged #215 (diff)
downloadpyload-e3747bb502a8a09ecea1e9b00628e9705568eebf.tar.xz
Fixed #228
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/hoster/RapidgatorNet.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/module/plugins/hoster/RapidgatorNet.py b/module/plugins/hoster/RapidgatorNet.py
index 3c4611446..543d73966 100644
--- a/module/plugins/hoster/RapidgatorNet.py
+++ b/module/plugins/hoster/RapidgatorNet.py
@@ -29,13 +29,14 @@ class RapidgatorNet(SimpleHoster):
__name__ = "RapidgatorNet"
__type__ = "hoster"
__pattern__ = r"http://(?:www\.)?(rapidgator.net)/file/(\w+)"
- __version__ = "0.18"
+ __version__ = "0.19"
__description__ = """rapidgator.net"""
__author_name__ = ("zoidberg", "chrox", "stickell")
API_URL = 'http://rapidgator.net/api/file'
- FILE_INFO_PATTERN = r'Downloading:(\s*<[^>]*>)*\s*(?P<N>.*?)(\s*<[^>]*>)*\s*File size:\s*<strong>(?P<S>.*?)</strong>'
+ FILE_NAME_PATTERN = r'Downloading:(?:\s*<[^>]*>)*\s*(?P<N>.*?)(?:\s*<[^>]*>)'
+ FILE_SIZE_PATTERN = r'File size:\s*<strong>(?P<S>.*?)</strong>'
FILE_OFFLINE_PATTERN = r'<title>File not found</title>'
JSVARS_PATTERN = r"\s+var\s*(startTimerUrl|getDownloadUrl|captchaUrl|fid|secs)\s*=\s*'?(.*?)'?;"