diff options
author | spoob <spoob@gmx.de> | 2010-04-13 18:54:55 +0200 |
---|---|---|
committer | spoob <spoob@gmx.de> | 2010-04-13 18:54:55 +0200 |
commit | 835e3a576051d9efb558bfcb7964947ab289c255 (patch) | |
tree | ff776f8b1f225829e897ab301eeb744afa42a742 /module/plugins/hoster/HotfileCom.py | |
parent | filefactory fix (diff) | |
download | pyload-835e3a576051d9efb558bfcb7964947ab289c255.tar.xz |
Pack Fixes
Diffstat (limited to 'module/plugins/hoster/HotfileCom.py')
-rw-r--r-- | module/plugins/hoster/HotfileCom.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/HotfileCom.py b/module/plugins/hoster/HotfileCom.py index 38e7caca8..d412ddd23 100644 --- a/module/plugins/hoster/HotfileCom.py +++ b/module/plugins/hoster/HotfileCom.py @@ -61,7 +61,7 @@ class HotfileCom(Plugin): self.req.add_auth(self.config['username'], self.config['password']) self.url = self.parent.url + "?lang=en" print self.url - self.html[0] = self.req.load(self.url, cookies=True) + self.html[0] = self.load(self.url, cookies=True) def get_file_url(self): if self.config['premium']: @@ -70,7 +70,7 @@ class HotfileCom(Plugin): else: form_content = re.search(r"<form style=.*(\n<.*>\s*)*?\n<tr>", self.html[0]).group(0) form_posts = re.findall(r"<input\stype=hidden\sname=(\S*)\svalue=(\S*)>", form_content) - self.html[1] = self.req.load(self.url, post=form_posts, cookies=True) + self.html[1] = self.load(self.url, post=form_posts, cookies=True) file_url = re.search("a href=\"(http://hotfile\.com/get/\S*?)\"", self.html[1]).group(1) return file_url |