From 153e779b243fafb3e69329b4d9eed8fbe375b6d4 Mon Sep 17 00:00:00 2001 From: Jeix Date: Tue, 17 Aug 2010 17:24:31 +0200 Subject: FileserveCom --- 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 2f752d01f..bbd87bd09 100644 --- a/module/plugins/hoster/HotfileCom.py +++ b/module/plugins/hoster/HotfileCom.py @@ -71,7 +71,7 @@ class HotfileCom(Hoster): re_captcha = ReCaptcha(self) - challenge = re.search(r"http://api.recaptcha.net/challenge\?k=([0-9A-Za-z]+)", self.html[1]) + challenge = re.search(r"http://api\.recaptcha\.net/challenge\?k=([0-9A-Za-z]+)", self.html[1]) if challenge: challenge, result = re_captcha.challenge(challenge.group(1)) @@ -88,7 +88,7 @@ class HotfileCom(Hoster): - file_url = re.search("a href=\"(http://hotfile\.com/get/\S*?)\"", self.html[1]).group(1) + file_url = re.search(r'a href="(http://hotfile\.com/get/\S*?)"', self.html[1]).group(1) self.download(file_url) -- cgit v1.2.3