diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-01-28 20:57:56 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-01-28 20:57:56 +0100 |
commit | b551bcf6cbbc2b597cbe1891b22af8a299b57df6 (patch) | |
tree | 3e54f3272391cf44c0f90b4c62d1adc5ee2fcd5e /module | |
parent | disabled chunk dl for filesMail.ru (server doesnt seem to support it anymore) (diff) | |
download | pyload-b551bcf6cbbc2b597cbe1891b22af8a299b57df6.tar.xz |
closed #215
Diffstat (limited to 'module')
-rw-r--r-- | module/plugins/hoster/HotfileCom.py | 7 | ||||
-rw-r--r-- | module/web/templates/default/base.html | 5 |
2 files changed, 5 insertions, 7 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 diff --git a/module/web/templates/default/base.html b/module/web/templates/default/base.html index 94fcd4291..d90ef6f07 100644 --- a/module/web/templates/default/base.html +++ b/module/web/templates/default/base.html @@ -304,9 +304,8 @@ function AddBox() <hr style="clear: both;" />
-<div id="foot">{% trans "© 2008-2011 the pyLoad Team" %}
-
- <a href="#top" class="action top" accesskey="x"><span>{% trans "Back to top" %}</span></a><br />
+<div id="foot">© 2008-2011 pyLoad Team
+<a href="#top" class="action top" accesskey="x"><span>{% trans "Back to top" %}</span></a><br />
<!--<div class="breadcrumbs"></div>-->
|