summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar spoob <spoob@gmx.de> 2010-01-07 15:59:23 +0100
committerGravatar spoob <spoob@gmx.de> 2010-01-07 15:59:23 +0100
commit1896a9faec5871f8051a8dfa407883cef46bb6df (patch)
tree402dde81416e2d8b14258132829a6e4e539bca0b /module/plugins
parentreverted config (diff)
downloadpyload-1896a9faec5871f8051a8dfa407883cef46bb6df.tar.xz
Better Rapidshare Slot Check thanks #66
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/hooks/ContainerDownload.py2
-rw-r--r--module/plugins/hoster/RapidshareCom.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/ContainerDownload.py b/module/plugins/hooks/ContainerDownload.py
index 417b42ee8..c13a7f622 100644
--- a/module/plugins/hooks/ContainerDownload.py
+++ b/module/plugins/hooks/ContainerDownload.py
@@ -38,7 +38,7 @@ class ContainerDownload(Hook):
if not pyfile.url.startswith("http"):
return
if filename.endswith(".dlc") or filename.endswith(".ccf") or filename.endswith(".rsdf"):
- self.logger.info("ContainerDownload hook: adding container file")
+ self.logger.info("ContainerDownload: adding container file")
location = abspath(join(pyfile.folder, filename))
newFile = self.core.file_list.collector.addLink(location)
self.core.file_list.packager.addFileToPackage(pyfile.package.data["id"], self.core.file_list.collector.popFile(newFile))
diff --git a/module/plugins/hoster/RapidshareCom.py b/module/plugins/hoster/RapidshareCom.py
index 677916dcf..10654e5c8 100644
--- a/module/plugins/hoster/RapidshareCom.py
+++ b/module/plugins/hoster/RapidshareCom.py
@@ -143,7 +143,7 @@ class RapidshareCom(Plugin):
self.time_plus_wait = time() + 60 * int(wait_minutes)
self.want_reconnect = True
except:
- if re.search(r"(currently a lot of users|no more download slots)", self.html[1], re.I) != None:
+ if re.search(r"(Currently a lot of users|no more download slots|servers are overloaded)", self.html[1], re.I) != None:
self.time_plus_wait = time() + 130
self.logger.info("Rapidshare: No free slots!")
self.no_slots = True