summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/SimpleHoster.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-09-28 14:57:02 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-09-28 14:57:02 +0200
commit8add4efc7dc3eeaa873030930e5bd31d6bdf8126 (patch)
treea0b9954ffd279fbee68e7d81e9e63ee616b6a8c0 /module/plugins/internal/SimpleHoster.py
parent[UptoboxCom] MultiDL support (diff)
downloadpyload-8add4efc7dc3eeaa873030930e5bd31d6bdf8126.tar.xz
[XFileSharingPro] COOKIES preset to english + improved setup routine
Diffstat (limited to 'module/plugins/internal/SimpleHoster.py')
-rw-r--r--module/plugins/internal/SimpleHoster.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py
index c18bfff15..ecbeec979 100644
--- a/module/plugins/internal/SimpleHoster.py
+++ b/module/plugins/internal/SimpleHoster.py
@@ -217,17 +217,10 @@ class SimpleHoster(Hoster):
self.fail("This link require a premium account")
else:
# This line is required due to the getURL workaround. Can be removed in 0.4.10
- self.html = self.load(pyfile.url, decode=not self.TEXT_ENCODING, cookies=self.COOKIES)
+ self.html = self.load(pyfile.url, decode=not self.TEXT_ENCODING)
self.handleFree()
- def load(self, url, get={}, post={}, ref=True, cookies=True, just_header=False, decode=False):
- if type(url) == unicode:
- url = url.encode('utf8')
- return Hoster.load(self, url=url, get=get, post=post, ref=ref, cookies=cookies,
- just_header=just_header, decode=decode)
-
-
def getFileInfo(self):
self.logDebug("URL", self.pyfile.url)