diff options
author | saintego <stegena@gmail.com> | 2015-03-26 21:50:54 +0100 |
---|---|---|
committer | saintego <stegena@gmail.com> | 2015-03-26 21:50:54 +0100 |
commit | adc9ab75ce58712afecf92c87f985fa00e783337 (patch) | |
tree | 26ace60d893bd985b2fec7e4efd6750626d3ad1d /module | |
parent | [Extractor] Rename method 'test' to 'verify' (diff) | |
download | pyload-adc9ab75ce58712afecf92c87f985fa00e783337.tar.xz |
rghost issue #1289
add rghost.ru and fix link_free_patern
Diffstat (limited to 'module')
-rw-r--r-- | module/plugins/hoster/RgHostNet.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/RgHostNet.py b/module/plugins/hoster/RgHostNet.py index 9a8a340ec..9f08cf740 100644 --- a/module/plugins/hoster/RgHostNet.py +++ b/module/plugins/hoster/RgHostNet.py @@ -10,7 +10,7 @@ class RgHostNet(SimpleHoster): __type__ = "hoster" __version__ = "0.03" - __pattern__ = r'http://(?:www\.)?rghost\.net/\d+(?:r=\d+)?' + __pattern__ = r'http://(?:www\.)?rghost\.(?:net|ru)/\d+(?:r=\d+)?' __config__ = [("use_premium", "bool", "Use premium account if available", True)] __description__ = """RgHost.net hoster plugin""" @@ -21,7 +21,7 @@ class RgHostNet(SimpleHoster): INFO_PATTERN = r'<h1>\s+(<a[^>]+>)?(?P<N>[^<]+)(</a>)?\s+<small[^>]+>\s+\((?P<S>[^)]+)\)\s+</small>\s+</h1>' OFFLINE_PATTERN = r'File is deleted|this page is not found' - LINK_FREE_PATTERN = r'<a\s+href="([^"]+)"\s+class="btn\s+large\s+download"[^>]+>Download</a>' + LINK_FREE_PATTERN = r'<a\s+href="([^"]+)"\s+class="btn\s+large\s+download[^>]+>Download</a>' getInfo = create_getInfo(RgHostNet) |