summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-26 00:04:13 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-26 00:04:13 +0200
commitfd53554581476212d337b788db6b83fa5ddfc14c (patch)
treeaa4d2493b999e38791c712764ae6c603a2756a54
parenticon fixes (diff)
downloadpyload-fd53554581476212d337b788db6b83fa5ddfc14c.tar.xz
hotfile fix
-rw-r--r--module/plugins/hoster/HotfileCom.py4
1 files changed, 2 insertions, 2 deletions
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):