From e3747bb502a8a09ecea1e9b00628e9705568eebf Mon Sep 17 00:00:00 2001 From: Stefano Date: Mon, 12 Aug 2013 16:02:09 +0200 Subject: Fixed #228 --- module/plugins/hoster/RapidgatorNet.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'module/plugins/hoster/RapidgatorNet.py') 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.*?)(\s*<[^>]*>)*\s*File size:\s*(?P.*?)' + FILE_NAME_PATTERN = r'Downloading:(?:\s*<[^>]*>)*\s*(?P.*?)(?:\s*<[^>]*>)' + FILE_SIZE_PATTERN = r'File size:\s*(?P.*?)' FILE_OFFLINE_PATTERN = r'File not found' JSVARS_PATTERN = r"\s+var\s*(startTimerUrl|getDownloadUrl|captchaUrl|fid|secs)\s*=\s*'?(.*?)'?;" -- cgit v1.2.3