From 30e9fc73dfb8fb19bcee7704fc7f8ad40dea6925 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sun, 15 Mar 2015 19:25:21 +0100 Subject: [FastshareCz] Update hoster info patterns (thx https://github.com/mikkiste) --- module/plugins/hoster/FastshareCz.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'module/plugins/hoster') diff --git a/module/plugins/hoster/FastshareCz.py b/module/plugins/hoster/FastshareCz.py index 626521ed2..2822d93d5 100644 --- a/module/plugins/hoster/FastshareCz.py +++ b/module/plugins/hoster/FastshareCz.py @@ -10,7 +10,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo class FastshareCz(SimpleHoster): __name__ = "FastshareCz" __type__ = "hoster" - __version__ = "0.28" + __version__ = "0.29" __pattern__ = r'http://(?:www\.)?fastshare\.cz/\d+/.+' @@ -22,11 +22,12 @@ class FastshareCz(SimpleHoster): COOKIES = [("fastshare.cz", "lang", "en")] - INFO_PATTERN = r'

(?P[^<]+)

\s*
\s*Size\s*: (?P\d+) (?P[\w^_]+),' + NAME_PATTERN = r'

(?P.+?)<' + SIZE_PATTERN = r'>Size\s*: (?P[\d.,]+) (?P[\w^_]+)' OFFLINE_PATTERN = r'>(The file has been deleted|Requested page not found)' - LINK_FREE_PATTERN = r'action=(/free/.*?)>\s*Enter the code\s*:\s*