diff options
author | Ludovic Lehmann <ludo.lehmann@gmail.com> | 2015-03-30 09:39:24 +0200 |
---|---|---|
committer | Ludovic Lehmann <ludo.lehmann@gmail.com> | 2015-03-30 09:39:24 +0200 |
commit | 9291fd15e3eb5baca16f10dcf64fd1f2743af270 (patch) | |
tree | 1368e9b271cfe867e8b690cf50ffd1e2ba29a8d7 /module/plugins/hoster/OneFichierCom.py | |
parent | [GoogledriveCom] Fix handleDirect (diff) | |
download | pyload-9291fd15e3eb5baca16f10dcf64fd1f2743af270.tar.xz |
OneFichier premium: remove double quote at the end of the filename
Diffstat (limited to 'module/plugins/hoster/OneFichierCom.py')
-rw-r--r-- | module/plugins/hoster/OneFichierCom.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/OneFichierCom.py b/module/plugins/hoster/OneFichierCom.py index 0c26d4277..6803bc91c 100644 --- a/module/plugins/hoster/OneFichierCom.py +++ b/module/plugins/hoster/OneFichierCom.py @@ -9,7 +9,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo class OneFichierCom(SimpleHoster): __name__ = "OneFichierCom" __type__ = "hoster" - __version__ = "0.81" + __version__ = "0.82" __pattern__ = r'https?://(?:www\.)?(?:(?P<ID1>\w+)\.)?(?P<HOST>1fichier\.com|alterupload\.com|cjoint\.net|d(es)?fichiers\.com|dl4free\.com|megadl\.fr|mesfichiers\.org|piecejointe\.net|pjointe\.com|tenvoi\.com)(?:/\?(?P<ID2>\w+))?' __config__ = [("use_premium", "bool", "Use premium account if available", True)] @@ -49,7 +49,7 @@ class OneFichierCom(SimpleHoster): if self.link: remote = urllib2.urlopen(self.link) name = remote.info()['Content-Disposition'].split(';') - pyfile.name = name[1].split('filename=')[1][1:] + pyfile.name = name[1].split('filename=')[1][1:-1] def handleFree(self, pyfile): |