From f531393337b58e570c2b23f63275b883506cb92c Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Thu, 22 Jan 2015 22:14:47 +0100 Subject: [SimpleDereferer][SimpleHoster] Fix https://github.com/pyload/pyload/issues/1065 --- module/plugins/internal/SimpleDereferer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'module/plugins/internal/SimpleDereferer.py') 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): -- cgit v1.2.3