diff options
author | Pavol Babincak <scroolik@gmail.com> | 2011-11-11 08:04:54 +0100 |
---|---|---|
committer | Pavol Babincak <scroolik@gmail.com> | 2011-11-11 08:04:54 +0100 |
commit | 8511cd8a8991b6b405d5530c473b96fb046d9d0e (patch) | |
tree | c4dd4f7b9529f01a7efe30182b7f2770ed01526e /module/plugins/hoster/HotfileCom.py | |
parent | update DepositfilesCom, fix HellshareCz (diff) | |
download | pyload-8511cd8a8991b6b405d5530c473b96fb046d9d0e.tar.xz |
Detect offline files on HotfileCom
Diffstat (limited to 'module/plugins/hoster/HotfileCom.py')
-rw-r--r-- | module/plugins/hoster/HotfileCom.py | 7 |
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() |