diff options
author | William Pickering <pickeringw@gmail.com> | 2014-08-30 19:27:13 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-08-30 19:27:13 +0200 |
commit | bd642f4597382aedc4c2f1dd28795cc15f5477cd (patch) | |
tree | b23be7677e1e64c68db40fe6d9e67b843bb5846c | |
parent | [RyushareCom] Fixed premium dl (diff) | |
download | pyload-bd642f4597382aedc4c2f1dd28795cc15f5477cd.tar.xz |
[BasePlugin] Don't unquote url header
-rw-r--r-- | module/plugins/hoster/BasePlugin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/BasePlugin.py b/module/plugins/hoster/BasePlugin.py index 839c4100a..54d789054 100644 --- a/module/plugins/hoster/BasePlugin.py +++ b/module/plugins/hoster/BasePlugin.py @@ -12,7 +12,7 @@ from module.utils import html_unescape, remove_chars class BasePlugin(Hoster): __name__ = "BasePlugin" __type__ = "hoster" - __version__ = "0.19" + __version__ = "0.20" __pattern__ = r'^unmatchable$' @@ -88,7 +88,7 @@ class BasePlugin(Hoster): self.logDebug("Location: " + header['location']) base = match(r'https?://[^/]+', url).group(0) if header['location'].startswith("http"): - url = unquote(header['location']) + url = header['location'] elif header['location'].startswith("/"): url = base + unquote(header['location']) else: |