summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
diff options
context:
space:
mode:
authorGravatar godofdream <soilfiction@gmail.com> 2012-08-23 09:04:20 +0200
committerGravatar godofdream <soilfiction@gmail.com> 2012-08-23 09:04:20 +0200
commit34a1f4f06aea43b2cf95087f6348c7402d658794 (patch)
tree62ecd4bcd10389808d4db26ebff04945525ca5fa /module/plugins/hoster
parentupdate XFileSharingPro - closes #663, hopefully doesn't break more (diff)
downloadpyload-34a1f4f06aea43b2cf95087f6348c7402d658794.tar.xz
Fixed Onefichier, closed 664
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r--module/plugins/hoster/OneFichierCom.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/OneFichierCom.py b/module/plugins/hoster/OneFichierCom.py
index e4a0a6ed7..7bc777e08 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.41"
+ __version__ = "0.42"
__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 :</th>\s*<td>(?P<N>[^<]+)</td>'
- FILE_SIZE_PATTERN = r'<th>File size :</th>\s*<td>(?P<S>[^<]+</td>'
+ FILE_SIZE_PATTERN = r'<th>File size :</th>\s*<td>(?P<S>[^<])+</td>'
FILE_OFFLINE_PATTERN = r'The (requested)? file (could not be found|has been deleted)'
FILE_URL_REPLACEMENTS = [(r'(http://[^/]*).*', r'\1/en/')]
@@ -60,4 +60,4 @@ class OneFichierCom(SimpleHoster):
self.wait()
self.retry()
-getInfo = create_getInfo(OneFichierCom) \ No newline at end of file
+getInfo = create_getInfo(OneFichierCom)