From 82aceb93be33157a637905cc807b9b7f7fe15d31 Mon Sep 17 00:00:00 2001 From: zoidberg10 Date: Thu, 8 Dec 2011 02:04:48 +0100 Subject: httprequest: encode('utf_8') for unicode post --- module/plugins/hoster/EnteruploadCom.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'module/plugins/hoster/EnteruploadCom.py') 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'

(?P[^<]+)

\s*File size:\s*(?P[0-9.]+)\s*(?P[kKMG])i?B' - FILE_OFFLINE_PATTERN = r'<(b|h2)>File Not Found|No such file with this filename' + FILE_OFFLINE_PATTERN = r'<(b|h2)>File Not Found|No such file with this filename' + 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'
(.*?)
' -- cgit v1.2.3