File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,13 +29,14 @@ class RapidgatorNet(SimpleHoster):
2929 __name__ = "RapidgatorNet"
3030 __type__ = "hoster"
3131 __pattern__ = r"http://(?:www\.)?(rapidgator.net)/file/(\w+)"
32- __version__ = "0.18 "
32+ __version__ = "0.19 "
3333 __description__ = """rapidgator.net"""
3434 __author_name__ = ("zoidberg" , "chrox" , "stickell" )
3535
3636 API_URL = 'http://rapidgator.net/api/file'
3737
38- FILE_INFO_PATTERN = r'Downloading:(\s*<[^>]*>)*\s*(?P<N>.*?)(\s*<[^>]*>)*\s*File size:\s*<strong>(?P<S>.*?)</strong>'
38+ FILE_NAME_PATTERN = r'Downloading:(?:\s*<[^>]*>)*\s*(?P<N>.*?)(?:\s*<[^>]*>)'
39+ FILE_SIZE_PATTERN = r'File size:\s*<strong>(?P<S>.*?)</strong>'
3940 FILE_OFFLINE_PATTERN = r'<title>File not found</title>'
4041
4142 JSVARS_PATTERN = r"\s+var\s*(startTimerUrl|getDownloadUrl|captchaUrl|fid|secs)\s*=\s*'?(.*?)'?;"
You can’t perform that action at this time.
0 commit comments