From 835e3a576051d9efb558bfcb7964947ab289c255 Mon Sep 17 00:00:00 2001 From: spoob Date: Tue, 13 Apr 2010 18:54:55 +0200 Subject: Pack Fixes --- module/plugins/hoster/HotfileCom.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/plugins/hoster/HotfileCom.py') 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"
\s*)*?\n", self.html[0]).group(0) form_posts = re.findall(r"", 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 -- cgit v1.2.3