From fd53554581476212d337b788db6b83fa5ddfc14c Mon Sep 17 00:00:00 2001 From: RaNaN Date: Thu, 26 Aug 2010 00:04:13 +0200 Subject: hotfile fix --- module/plugins/hoster/HotfileCom.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/plugins') diff --git a/module/plugins/hoster/HotfileCom.py b/module/plugins/hoster/HotfileCom.py index 8f231fcd5..78128db1d 100644 --- a/module/plugins/hoster/HotfileCom.py +++ b/module/plugins/hoster/HotfileCom.py @@ -32,7 +32,7 @@ def getInfo(urls): class HotfileCom(Hoster): __name__ = "HotfileCom" __type__ = "hoster" - __pattern__ = r"http://hotfile.com/dl/" + __pattern__ = r"http://(www.)?hotfile\.com/dl/\d+/[0-9a-zA-Z]+/" __version__ = "0.3" __description__ = """Hotfile.com Download Hoster""" __author_name__ = ("sitacuisses","spoob","mkaay") @@ -109,7 +109,7 @@ class HotfileCom(Hoster): self.freeDownload() return - file_url = re.search(r'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) def getWaitTime(self): -- cgit v1.2.3