summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/HotfileCom.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2010-04-29 20:26:18 +0200
committerGravatar mkaay <mkaay@mkaay.de> 2010-04-29 20:26:18 +0200
commit632fb7eb860675a0375b8e3a8669335ec97f6d81 (patch)
tree8b0cb62f009727b91923946e4e713017b739cea5 /module/plugins/hoster/HotfileCom.py
parentSome design modifications (diff)
downloadpyload-632fb7eb860675a0375b8e3a8669335ec97f6d81.tar.xz
fixed updater, moved config files, folder for each package now optional
Diffstat (limited to 'module/plugins/hoster/HotfileCom.py')
-rw-r--r--module/plugins/hoster/HotfileCom.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/module/plugins/hoster/HotfileCom.py b/module/plugins/hoster/HotfileCom.py
index d412ddd23..2a1117fc5 100644
--- a/module/plugins/hoster/HotfileCom.py
+++ b/module/plugins/hoster/HotfileCom.py
@@ -59,9 +59,8 @@ class HotfileCom(Plugin):
def download_html(self):
if self.config['premium']:
self.req.add_auth(self.config['username'], self.config['password'])
- self.url = self.parent.url + "?lang=en"
- print self.url
- self.html[0] = self.load(self.url, cookies=True)
+ self.url = self.parent.url
+ self.html[0] = self.load(self.url, get={"lang":"en"}, cookies=True)
def get_file_url(self):
if self.config['premium']: