diff options
author | Stefano <l.stickell@yahoo.it> | 2014-01-16 13:36:54 +0100 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2014-01-16 13:36:54 +0100 |
commit | 145602cde43f99aa704b8a2e01cb0b1852938565 (patch) | |
tree | 883ff059672085a0869b3a981b39da4e2fe8f43e /module/plugins/hoster/FilefactoryCom.py | |
parent | SimpleHoster: improved PREMIUM_ONLY process (diff) | |
download | pyload-145602cde43f99aa704b8a2e01cb0b1852938565.tar.xz |
Filefactory: added PREMIUM_ONLY_PATTERN
Diffstat (limited to 'module/plugins/hoster/FilefactoryCom.py')
-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 90b844b9f..37987059b 100644 --- a/module/plugins/hoster/FilefactoryCom.py +++ b/module/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) |