diff options
author | Walter Purcaro <vuolter@gmail.com> | 2015-01-22 22:14:47 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2015-01-22 22:14:47 +0100 |
commit | f531393337b58e570c2b23f63275b883506cb92c (patch) | |
tree | 4850bb1cf1a80aee9cc52185d00ced333f126c5f /module/plugins/internal/SimpleDereferer.py | |
parent | Update plugins after CaptchaService changes (diff) | |
download | pyload-f531393337b58e570c2b23f63275b883506cb92c.tar.xz |
[SimpleDereferer][SimpleHoster] Fix https://github.com/pyload/pyload/issues/1065
Diffstat (limited to 'module/plugins/internal/SimpleDereferer.py')
-rw-r--r-- | module/plugins/internal/SimpleDereferer.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/module/plugins/internal/SimpleDereferer.py b/module/plugins/internal/SimpleDereferer.py index 35ac09b70..72d61d4a0 100644 --- a/module/plugins/internal/SimpleDereferer.py +++ b/module/plugins/internal/SimpleDereferer.py @@ -11,7 +11,7 @@ from module.plugins.internal.SimpleHoster import fileUrl, set_cookies class SimpleDereferer(Crypter): __name__ = "SimpleDereferer" __type__ = "crypter" - __version__ = "0.04" + __version__ = "0.05" __pattern__ = r'^unmatchable$' __config__ = [("use_subfolder", "bool", "Save package to subfolder", True), @@ -77,6 +77,7 @@ class SimpleDereferer(Crypter): def preload(self): + self.req.renewHTTPRequest() #@NOTE: Remove in 0.4.10 self.html = self.load(self.pyfile.url, cookies=bool(self.COOKIES), decode=not self.TEXT_ENCODING) if isinstance(self.TEXT_ENCODING, basestring): |