diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-03-30 19:11:33 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-03-30 19:11:33 +0200 |
commit | 0c86984827d60e0a94d8152df55a16d232020336 (patch) | |
tree | 1bd2600fab9ec075c26e09f6b0693e48d36fa5cc | |
parent | Merge pull request #1302 from ludoviclehmann/stable (diff) | |
download | pyload-0c86984827d60e0a94d8152df55a16d232020336.tar.xz |
[GoogledriveCom][UlozTo] Fix handleDirect (2)
-rw-r--r-- | module/plugins/hoster/GoogledriveCom.py | 4 | ||||
-rw-r--r-- | module/plugins/hoster/UlozTo.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/hoster/GoogledriveCom.py b/module/plugins/hoster/GoogledriveCom.py index 57a5ab7fb..bb4a5d1d4 100644 --- a/module/plugins/hoster/GoogledriveCom.py +++ b/module/plugins/hoster/GoogledriveCom.py @@ -12,7 +12,7 @@ from module.utils import html_unescape class GoogledriveCom(SimpleHoster): __name__ = "GoogledriveCom" __type__ = "hoster" - __version__ = "0.05" + __version__ = "0.06" __pattern__ = r'https?://(?:www\.)?drive\.google\.com/file/.+' __config__ = [("use_premium", "bool", "Use premium account if available", True)] @@ -41,7 +41,7 @@ class GoogledriveCom(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): diff --git a/module/plugins/hoster/UlozTo.py b/module/plugins/hoster/UlozTo.py index 49ed598cb..c6dcec2cf 100644 --- a/module/plugins/hoster/UlozTo.py +++ b/module/plugins/hoster/UlozTo.py @@ -15,7 +15,7 @@ def convertDecimalPrefix(m): class UlozTo(SimpleHoster): __name__ = "UlozTo" __type__ = "hoster" - __version__ = "1.06" + __version__ = "1.07" __pattern__ = r'http://(?:www\.)?(uloz\.to|ulozto\.(cz|sk|net)|bagruj\.cz|zachowajto\.pl)/(?:live/)?(?P<ID>\w+/[^/?]*)' __config__ = [("use_premium", "bool", "Use premium account if available", True)] @@ -55,7 +55,7 @@ class UlozTo(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): |