summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-29 00:25:13 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-29 00:25:13 +0100
commit31b5cf3426accb16268ce0d968b619c4893cd34f (patch)
tree1e75bc145791626aef8306e7999d5aa2850f8147 /module
parent[YoutubeCom] Fix http://forum.pyload.org/viewtopic.php?f=12&t=3974 (diff)
downloadpyload-31b5cf3426accb16268ce0d968b619c4893cd34f.tar.xz
[SimpleDereferer][SimpleHoster] Revert renewHTTPRequest
Diffstat (limited to 'module')
-rw-r--r--module/plugins/internal/SimpleDereferer.py3
-rw-r--r--module/plugins/internal/SimpleHoster.py3
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):