From 5acace16f4f78c987a1183e04f5309ea78bfa26f Mon Sep 17 00:00:00 2001 From: astranCZ Date: Tue, 13 Oct 2015 13:26:14 +0200 Subject: Fix EuroshareEu Fix NAME_PATTERN and SIZE_PATTERN --- module/plugins/hoster/EuroshareEu.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'module') diff --git a/module/plugins/hoster/EuroshareEu.py b/module/plugins/hoster/EuroshareEu.py index 793491b2e..7ec6dc428 100644 --- a/module/plugins/hoster/EuroshareEu.py +++ b/module/plugins/hoster/EuroshareEu.py @@ -8,7 +8,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo class EuroshareEu(SimpleHoster): __name__ = "EuroshareEu" __type__ = "hoster" - __version__ = "0.33" + __version__ = "0.34" __status__ = "testing" __pattern__ = r'http://(?:www\.)?euroshare\.(eu|sk|cz|hu|pl)/file/.+' @@ -20,7 +20,9 @@ class EuroshareEu(SimpleHoster): __authors__ = [("zoidberg", "zoidberg@mujmail.cz")] - INFO_PATTERN = r'(?P.+?) \((?P.+?)\)' + NAME_PATTERN = r'

(?P.+?)

' + SIZE_PATTERN = r'

.*\| (?P.+?) (?P.+?)

' + OFFLINE_PATTERN = ur'

S.bor sa nena.iel

|Požadovaná stránka neexistuje!' LINK_FREE_PATTERN = r'onclick="return checkLoad\(\);" href="(.+?)" class="tlacitko velky"' -- cgit v1.2.3