diff options
author | Guido Galliani <guidobelix@archlinux.home> | 2014-10-24 07:11:55 +0200 |
---|---|---|
committer | Guidobelix <guidobelix@hotmail.it> | 2014-11-30 22:28:52 +0100 |
commit | c8f619e773e836c4c03462a5b1095599396bf79e (patch) | |
tree | 147d4ed5128d244e88c41ab5fb7be1ad76f49034 /module/plugins/hoster/SafesharingEu.py | |
parent | [SafesharingEu] Added support for registered users. (diff) | |
download | pyload-c8f619e773e836c4c03462a5b1095599396bf79e.tar.xz |
[SafesharingEu] Improved patterns
modified: module/plugins/accounts/SafesharingEu.py
modified: module/plugins/hoster/SafesharingEu.py
Diffstat (limited to 'module/plugins/hoster/SafesharingEu.py')
-rw-r--r-- | module/plugins/hoster/SafesharingEu.py | 10 |
1 files changed, 3 insertions, 7 deletions
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:</b></td><td>(?P<S>.*) (?P<U>[kKmMbB]*) <small>' FILE_ID_PATTERN = r'<input type="hidden" name="id" value="(.*)">' - FILE_OFFLINE_PATTERN = r'<Title>File Not Found</Title>' + OFFLINE_PATTERN = r'<b>File Not Found</b>' + TEMP_OFFLINE_PATTERN = r'This server is in maintenance mode' + WAIT_PATTERN = r'You have to wait (\d+) minutes' COUNTDOWN_PATTERN = r'<br><span id="countdown_str">Wait <span id=".*">(\d+)</span> seconds</span>' |