From 5153e6c3a5ede7b8842165f290aac1be3fd40212 Mon Sep 17 00:00:00 2001 From: Stefano Date: Wed, 15 Jan 2014 11:23:05 +0100 Subject: Filefactory: fixed premium (without direct) mode. (cherry picked from commit 0512d40e3810aa654a5db89e021b2466e7a6c162) --- pyload/plugins/hoster/FilefactoryCom.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pyload/plugins/hoster') diff --git a/pyload/plugins/hoster/FilefactoryCom.py b/pyload/plugins/hoster/FilefactoryCom.py index b12f1b9df..90b844b9f 100644 --- a/pyload/plugins/hoster/FilefactoryCom.py +++ b/pyload/plugins/hoster/FilefactoryCom.py @@ -24,13 +24,13 @@ class FilefactoryCom(SimpleHoster): __name__ = "FilefactoryCom" __type__ = "hoster" __pattern__ = r"https?://(?:www\.)?filefactory\.com/file/(?P[a-zA-Z0-9]+)" - __version__ = "0.45" + __version__ = "0.46" __description__ = """Filefactory.Com File Download Hoster""" __author_name__ = ("stickell") __author_mail__ = ("l.stickell@yahoo.it") FILE_INFO_PATTERN = r'
]*>\s*

(?P[^<]+)

\s*
\s*(?P[\d.]+) (?P\w+) uploaded' - DIRECT_LINK_PATTERN = r'' + DIRECT_LINK_PATTERN = r']*>]*> Download with FileFactory Premium' FILE_OFFLINE_PATTERN = r'

File Removed

' def handleFree(self): @@ -92,6 +92,7 @@ class FilefactoryCom(SimpleHoster): elif 'content-disposition' in header: url = self.pyfile.url else: + self.logInfo('You could enable "Direct Downloads" on http://filefactory.com/account/') html = self.load(self.pyfile.url) found = re.search(self.DIRECT_LINK_PATTERN, html) if found: -- cgit v1.2.3