diff options
Diffstat (limited to 'module')
| -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): | 
