From 3758f5e1dfccc70e4bb733e4e6a5932967bbf787 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Fri, 23 Oct 2015 04:32:27 +0200 Subject: Fix XFS plugins --- module/plugins/hoster/FshareVn.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/plugins/hoster/FshareVn.py') diff --git a/module/plugins/hoster/FshareVn.py b/module/plugins/hoster/FshareVn.py index cf6a8b9c0..156a44128 100644 --- a/module/plugins/hoster/FshareVn.py +++ b/module/plugins/hoster/FshareVn.py @@ -23,7 +23,7 @@ def double_decode(m): class FshareVn(SimpleHoster): __name__ = "FshareVn" __type__ = "hoster" - __version__ = "0.22" + __version__ = "0.23" __status__ = "testing" __pattern__ = r'http://(?:www\.)?fshare\.vn/file/.+' @@ -38,7 +38,7 @@ class FshareVn(SimpleHoster): INFO_PATTERN = r'

(?P[^<]+)<\\/p>[\\trn\s]*

(?P[\d.,]+)\s*(?P[\w^_]+)<\\/p>' OFFLINE_PATTERN = r'

\\t\\t\\t\\t\\r\\n\\t\\t

<\\/p>\\t\\t\\r\\n\\t\\t

0 KB<\\/p>' - NAME_REPLACEMENTS = [("(.*)", doubleDecode)] + NAME_REPLACEMENTS = [("(.*)", double_decode)] LINK_FREE_PATTERN = r'action="(http://download.*?)[#"]' WAIT_PATTERN = ur'Lượt tải xuống kế tiếp là:\s*(.*?)\s*<' -- cgit v1.2.3