diff options
author | Walter Purcaro <vuolter@gmail.com> | 2015-01-29 00:25:13 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2015-01-29 00:25:13 +0100 |
commit | 31b5cf3426accb16268ce0d968b619c4893cd34f (patch) | |
tree | 1e75bc145791626aef8306e7999d5aa2850f8147 /module | |
parent | [YoutubeCom] Fix http://forum.pyload.org/viewtopic.php?f=12&t=3974 (diff) | |
download | pyload-31b5cf3426accb16268ce0d968b619c4893cd34f.tar.xz |
[SimpleDereferer][SimpleHoster] Revert renewHTTPRequest
Diffstat (limited to 'module')
-rw-r--r-- | module/plugins/internal/SimpleDereferer.py | 3 | ||||
-rw-r--r-- | module/plugins/internal/SimpleHoster.py | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/module/plugins/internal/SimpleDereferer.py b/module/plugins/internal/SimpleDereferer.py index 4c5e67a4c..bd00f5d25 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.06" + __version__ = "0.07" __pattern__ = r'^unmatchable$' __config__ = [("use_subfolder", "bool", "Save package to subfolder", True), @@ -76,7 +76,6 @@ 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): diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py index 30add3f41..c74e33d59 100644 --- a/module/plugins/internal/SimpleHoster.py +++ b/module/plugins/internal/SimpleHoster.py @@ -245,7 +245,7 @@ def secondsToMidnight(gmt=0): class SimpleHoster(Hoster): __name__ = "SimpleHoster" __type__ = "hoster" - __version__ = "1.11" + __version__ = "1.12" __pattern__ = r'^unmatchable$' @@ -453,7 +453,6 @@ class SimpleHoster(Hoster): 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): |