From eaaeb5ed2141cda9491f1d8feda8dfaf0faf6116 Mon Sep 17 00:00:00 2001 From: zoidberg10 Date: Mon, 6 Feb 2012 18:10:19 +0100 Subject: fix zippyshare, 1fichier, uloz.to live, add some hoster --- module/plugins/hoster/OneFichierCom.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'module/plugins/hoster/OneFichierCom.py') diff --git a/module/plugins/hoster/OneFichierCom.py b/module/plugins/hoster/OneFichierCom.py index 16401891b..e4a0a6ed7 100644 --- a/module/plugins/hoster/OneFichierCom.py +++ b/module/plugins/hoster/OneFichierCom.py @@ -7,13 +7,13 @@ class OneFichierCom(SimpleHoster): __name__ = "OneFichierCom" __type__ = "hoster" __pattern__ = r"(http://\w+\.((1fichier|d(es)?fichiers|pjointe)\.(com|fr|net|org)|(cjoint|mesfichiers|piecejointe|oi)\.(org|net)|tenvoi\.(com|org|net)|dl4free\.com|alterupload\.com|megadl.fr))" - __version__ = "0.4" + __version__ = "0.41" __description__ = """1fichier.com download hoster""" __author_name__ = ("fragonib", "the-razer", "zoidberg") __author_mail__ = ("fragonib[AT]yahoo[DOT]es", "daniel_ AT gmx DOT net", "zoidberg@mujmail.cz") - FILE_NAME_PATTERN = r'">File name :[\t\r\n ]+(?P.*?)' - FILE_SIZE_PATTERN = r'File size :\s+(?P[\d\.]*) (?P\w+)' + FILE_NAME_PATTERN = r'">File name :\s*(?P[^<]+)' + FILE_SIZE_PATTERN = r'File size :\s*(?P[^<]+' FILE_OFFLINE_PATTERN = r'The (requested)? file (could not be found|has been deleted)' FILE_URL_REPLACEMENTS = [(r'(http://[^/]*).*', r'\1/en/')] -- cgit v1.2.3