summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/HotfileCom.py
diff options
context:
space:
mode:
authorGravatar Pavol Babincak <scroolik@gmail.com> 2011-11-11 08:04:54 +0100
committerGravatar Pavol Babincak <scroolik@gmail.com> 2011-11-11 08:04:54 +0100
commit8511cd8a8991b6b405d5530c473b96fb046d9d0e (patch)
treec4dd4f7b9529f01a7efe30182b7f2770ed01526e /module/plugins/hoster/HotfileCom.py
parentupdate DepositfilesCom, fix HellshareCz (diff)
downloadpyload-8511cd8a8991b6b405d5530c473b96fb046d9d0e.tar.xz
Detect offline files on HotfileCom
Diffstat (limited to 'module/plugins/hoster/HotfileCom.py')
-rw-r--r--module/plugins/hoster/HotfileCom.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/module/plugins/hoster/HotfileCom.py b/module/plugins/hoster/HotfileCom.py
index 96927a9fc..a51d2f062 100644
--- a/module/plugins/hoster/HotfileCom.py
+++ b/module/plugins/hoster/HotfileCom.py
@@ -37,6 +37,8 @@ class HotfileCom(Hoster):
__author_name__ = ("sitacuisses","spoob","mkaay")
__author_mail__ = ("sitacuisses@yhoo.de","spoob@pyload.org","mkaay@mkaay.de")
+ FILE_OFFLINE_PATTERN = r'File is removed'
+
def setup(self):
self.html = [None, None]
self.wantReconnect = False
@@ -73,7 +75,10 @@ class HotfileCom(Hoster):
if not self.account:
self.downloadHTML()
-
+
+ if self.FILE_OFFLINE_PATTERN in self.html[0]:
+ self.offline()
+
self.setWait(self.getWaitTime())
self.wait()