summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2014-01-09 17:12:34 +0100
committerGravatar Stefano <l.stickell@yahoo.it> 2014-04-21 16:53:11 +0200
commit39b6e54e71866d8f10e040eab51648ae7e5685b5 (patch)
tree38531e1122a1606dfc5158ff945badc3bac6129a
parentDepositfiles: added dfiles.ru domain (diff)
downloadpyload-39b6e54e71866d8f10e040eab51648ae7e5685b5.tar.xz
Filefactory: added offline pattern
(cherry picked from commit c2886928e0e17d2e6252d0af500dea7e27eea53c)
-rw-r--r--pyload/plugins/hoster/FilefactoryCom.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pyload/plugins/hoster/FilefactoryCom.py b/pyload/plugins/hoster/FilefactoryCom.py
index 8d9814007..b12f1b9df 100644
--- a/pyload/plugins/hoster/FilefactoryCom.py
+++ b/pyload/plugins/hoster/FilefactoryCom.py
@@ -24,13 +24,14 @@ class FilefactoryCom(SimpleHoster):
__name__ = "FilefactoryCom"
__type__ = "hoster"
__pattern__ = r"https?://(?:www\.)?filefactory\.com/file/(?P<id>[a-zA-Z0-9]+)"
- __version__ = "0.44"
+ __version__ = "0.45"
__description__ = """Filefactory.Com File Download Hoster"""
__author_name__ = ("stickell")
__author_mail__ = ("l.stickell@yahoo.it")
FILE_INFO_PATTERN = r'<div id="file_name"[^>]*>\s*<h2>(?P<N>[^<]+)</h2>\s*<div id="file_info">\s*(?P<S>[\d.]+) (?P<U>\w+) uploaded'
DIRECT_LINK_PATTERN = r'<section id="downloadLink">\s*<p class="textAlignCenter">\s*<a href="([^"]+)">[^<]+</a>\s*</p>\s*</section>'
+ FILE_OFFLINE_PATTERN = r'<h2>File Removed</h2>'
def handleFree(self):
self.html = self.load(self.pyfile.url, decode=True)