diff options
author | Stefano <l.stickell@yahoo.it> | 2014-01-16 13:36:54 +0100 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2014-04-21 16:54:50 +0200 |
commit | 6c2198fa07e4c31fce3297dd29559114c4e922fa (patch) | |
tree | 13cbae655dbb3d54bb80697e10f3151273a64a74 | |
parent | SimpleHoster: improved PREMIUM_ONLY process (diff) | |
download | pyload-6c2198fa07e4c31fce3297dd29559114c4e922fa.tar.xz |
Filefactory: added PREMIUM_ONLY_PATTERN
(cherry picked from commit 145602cde43f99aa704b8a2e01cb0b1852938565)
-rw-r--r-- | pyload/plugins/hoster/FilefactoryCom.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pyload/plugins/hoster/FilefactoryCom.py b/pyload/plugins/hoster/FilefactoryCom.py index 90b844b9f..37987059b 100644 --- a/pyload/plugins/hoster/FilefactoryCom.py +++ b/pyload/plugins/hoster/FilefactoryCom.py @@ -24,7 +24,7 @@ class FilefactoryCom(SimpleHoster): __name__ = "FilefactoryCom" __type__ = "hoster" __pattern__ = r"https?://(?:www\.)?filefactory\.com/file/(?P<id>[a-zA-Z0-9]+)" - __version__ = "0.46" + __version__ = "0.47" __description__ = """Filefactory.Com File Download Hoster""" __author_name__ = ("stickell") __author_mail__ = ("l.stickell@yahoo.it") @@ -32,6 +32,7 @@ class FilefactoryCom(SimpleHoster): 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'<a href="(https?://[^"]+)"[^>]*><i[^>]*></i> Download with FileFactory Premium</a>' FILE_OFFLINE_PATTERN = r'<h2>File Removed</h2>' + PREMIUM_ONLY_PATTERN = r'>Premium Account Required<' def handleFree(self): self.html = self.load(self.pyfile.url, decode=True) |