diff options
author | 2011-12-08 02:04:48 +0100 | |
---|---|---|
committer | 2011-12-08 02:04:48 +0100 | |
commit | 82aceb93be33157a637905cc807b9b7f7fe15d31 (patch) | |
tree | 3296612367ab93848dc146071dc2d38b98ef26cb /module/plugins/hoster/EnteruploadCom.py | |
parent | fix webinterface downloads list on synology (diff) | |
download | pyload-82aceb93be33157a637905cc807b9b7f7fe15d31.tar.xz |
httprequest: encode('utf_8') for unicode post
Diffstat (limited to 'module/plugins/hoster/EnteruploadCom.py')
-rw-r--r-- | module/plugins/hoster/EnteruploadCom.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/module/plugins/hoster/EnteruploadCom.py b/module/plugins/hoster/EnteruploadCom.py index 5e899ae96..37e24a93f 100644 --- a/module/plugins/hoster/EnteruploadCom.py +++ b/module/plugins/hoster/EnteruploadCom.py @@ -29,7 +29,8 @@ class EnteruploadCom(SimpleHoster): __author_mail__ = ("zoidberg@mujmail.cz")
FILE_INFO_PATTERN = r'<h3>(?P<N>[^<]+)</h3>\s*<span>File size:\s*(?P<S>[0-9.]+)\s*(?P<U>[kKMG])i?B</span>'
- FILE_OFFLINE_PATTERN = r'<(b|h2)>File Not Found</(b|h2)>|<font class="err">No such file with this filename</font>'
+ FILE_OFFLINE_PATTERN = r'<(b|h2)>File Not Found</(b|h2)>|<font class="err">No such file with this filename</font>'
+ TEMP_OFFLINE_PATTERN = r'>This server is in maintenance mode\. Refresh this page in some minutes\.<'
URL_REPLACEMENTS = [(r"(http://(?:www\.)?enterupload.com/\w+).*", r"\1")]
FORM1_PATTERN = r'<form method="POST" action=\'\' style="display: none;">(.*?)</form>'
|