From c8f619e773e836c4c03462a5b1095599396bf79e Mon Sep 17 00:00:00 2001 From: Guido Galliani Date: Fri, 24 Oct 2014 07:11:55 +0200 Subject: [SafesharingEu] Improved patterns modified: module/plugins/accounts/SafesharingEu.py modified: module/plugins/hoster/SafesharingEu.py --- module/plugins/hoster/SafesharingEu.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'module/plugins/hoster/SafesharingEu.py') diff --git a/module/plugins/hoster/SafesharingEu.py b/module/plugins/hoster/SafesharingEu.py index d4064c452..cbb448d02 100644 --- a/module/plugins/hoster/SafesharingEu.py +++ b/module/plugins/hoster/SafesharingEu.py @@ -1,10 +1,4 @@ # -*- coding: utf-8 -*- -# -# Test link: -# http://safesharing.eu/h1ijvcrpl9ys - -# Test link (offline): -# http://safesharing.eu/h1ijvcrpl9ysgggggg from module.plugins.internal.XFSPHoster import XFSPHoster, create_getInfo @@ -26,7 +20,9 @@ class SafesharingEu(XFSPHoster): FILE_SIZE_PATTERN = r'Size:(?P.*) (?P[kKmMbB]*) ' FILE_ID_PATTERN = r'' - FILE_OFFLINE_PATTERN = r'File Not Found' + OFFLINE_PATTERN = r'File Not Found' + TEMP_OFFLINE_PATTERN = r'This server is in maintenance mode' + WAIT_PATTERN = r'You have to wait (\d+) minutes' COUNTDOWN_PATTERN = r'
Wait (\d+) seconds' -- cgit v1.2.3