From adc9ab75ce58712afecf92c87f985fa00e783337 Mon Sep 17 00:00:00 2001 From: saintego Date: Thu, 26 Mar 2015 21:50:54 +0100 Subject: rghost issue #1289 add rghost.ru and fix link_free_patern --- module/plugins/hoster/RgHostNet.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/plugins') 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'

\s+(]+>)?(?P[^<]+)()?\s+]+>\s+\((?P[^)]+)\)\s+\s+

' OFFLINE_PATTERN = r'File is deleted|this page is not found' - LINK_FREE_PATTERN = r']+>Download' + LINK_FREE_PATTERN = r']+>Download' getInfo = create_getInfo(RgHostNet) -- cgit v1.2.3