diff options
author | Stefano <l.stickell@yahoo.it> | 2014-01-09 17:12:34 +0100 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2014-01-09 17:12:34 +0100 |
commit | c2886928e0e17d2e6252d0af500dea7e27eea53c (patch) | |
tree | 2829d13a091f04a8da49fcb1035c5392cc61ed35 /module | |
parent | Depositfiles: added dfiles.ru domain (diff) | |
download | pyload-c2886928e0e17d2e6252d0af500dea7e27eea53c.tar.xz |
Filefactory: added offline pattern
Diffstat (limited to 'module')
-rw-r--r-- | module/plugins/hoster/FilefactoryCom.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/module/plugins/hoster/FilefactoryCom.py b/module/plugins/hoster/FilefactoryCom.py index 8d9814007..b12f1b9df 100644 --- a/module/plugins/hoster/FilefactoryCom.py +++ b/module/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) |