From 04038a2cf0c4c2d9cc9a0c8e8bf9beb6426afae8 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Thu, 10 Jul 2014 03:02:26 +0200 Subject: Use parseError instead PluginParseError + unified all download pattern attributes as LINK_PATTERN + removed some old patterns (not used anymore) + other code cosmetics --- module/plugins/hoster/SecureUploadEu.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/plugins/hoster/SecureUploadEu.py') diff --git a/module/plugins/hoster/SecureUploadEu.py b/module/plugins/hoster/SecureUploadEu.py index bf0b349e6..aef6ac1bd 100644 --- a/module/plugins/hoster/SecureUploadEu.py +++ b/module/plugins/hoster/SecureUploadEu.py @@ -14,8 +14,8 @@ class SecureUploadEu(XFileSharingPro): HOSTER_NAME = "secureupload.eu" - FILE_INFO_PATTERN = '

Downloading (?P[^<]+) \((?P[^<]+)\)

' - OFFLINE_PATTERN = 'The file was removed|File Not Found' + FILE_INFO_PATTERN = r'

Downloading (?P[^<]+) \((?P[^<]+)\)

' + OFFLINE_PATTERN = r'The file was removed|File Not Found' getInfo = create_getInfo(SecureUploadEu) -- cgit v1.2.3