summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-03 09:01:05 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-03 09:09:25 +0200
commit6a3a5045ba429d89b795ccc76a145b16c7e83cba (patch)
treee238afb1f943ff2213e52dbbf69a63be44bd8ec9 /module/plugins/hoster
parent[XFileSharingPro] Captcha refactoring + pattern improvement (diff)
downloadpyload-6a3a5045ba429d89b795ccc76a145b16c7e83cba.tar.xz
[XFileSharingPro] TEMP_OFFLINE_PATTERN
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r--module/plugins/hoster/XFileSharingPro.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/module/plugins/hoster/XFileSharingPro.py b/module/plugins/hoster/XFileSharingPro.py
index 8edfd8988..c95e52e73 100644
--- a/module/plugins/hoster/XFileSharingPro.py
+++ b/module/plugins/hoster/XFileSharingPro.py
@@ -41,6 +41,7 @@ class XFileSharingPro(SimpleHoster):
FILE_SIZE_PATTERN = r'You have requested .*\((?P<S>[\d\.\,]+) ?(?P<U>\w+)?\)</font>'
OFFLINE_PATTERN = r'>\s*\w+ (Not Found|file (was|has been) removed)'
+ TEMP_OFFLINE_PATTERN = r'>\s*\w+ server (is in )?(maintenance|maintainance)'
WAIT_PATTERN = r'<span id="countdown_str">.*?>(\d+)</span>'