summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-03-30 09:51:47 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-03-30 09:51:47 +0200
commitab035df0a6de2271ee1d2e4b0184fdb78d400983 (patch)
tree1368e9b271cfe867e8b690cf50ffd1e2ba29a8d7
parent[GoogledriveCom] Fix handleDirect (diff)
parentOneFichier premium: remove double quote at the end of the filename (diff)
downloadpyload-ab035df0a6de2271ee1d2e4b0184fdb78d400983.tar.xz
Merge pull request #1302 from ludoviclehmann/stable
OneFichier premium: remove double quote at the end of the filename
-rw-r--r--module/plugins/hoster/OneFichierCom.py4
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):