summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-01-28 20:57:56 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-01-28 20:57:56 +0100
commitb551bcf6cbbc2b597cbe1891b22af8a299b57df6 (patch)
tree3e54f3272391cf44c0f90b4c62d1adc5ee2fcd5e /module/plugins
parentdisabled chunk dl for filesMail.ru (server doesnt seem to support it anymore) (diff)
downloadpyload-b551bcf6cbbc2b597cbe1891b22af8a299b57df6.tar.xz
closed #215
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/hoster/HotfileCom.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/module/plugins/hoster/HotfileCom.py b/module/plugins/hoster/HotfileCom.py
index 1b8fc0e7b..75806fe4e 100644
--- a/module/plugins/hoster/HotfileCom.py
+++ b/module/plugins/hoster/HotfileCom.py
@@ -81,7 +81,8 @@ class HotfileCom(Hoster):
self.freeDownload()
else:
dl = self.account.apiCall("getdirectdownloadlink", {"link":self.pyfile.url}, self.user)
- dl = unquote(dl).strip()
+ #dl = unquote(dl).strip() <- Made problems
+ dl = dl.strip()
self.download(dl)
def downloadHTML(self):
@@ -118,9 +119,7 @@ class HotfileCom(Hoster):
matches = free_limit_pattern.findall(self.html[0])
if matches:
for match in matches:
- if int(match) == 60000:
- continue
- if int(match) == 0:
+ if int(match) in (60000,15000,0):
continue
else:
waittime = int(match)/1000 + 65