diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-07-16 01:14:52 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-07-16 01:14:52 +0200 |
commit | 544900fde4e3f4441371ed7328aef07f51b5a358 (patch) | |
tree | c07d0ffbc700276f31f0d2263ec80ade321143d6 /module/plugins/hoster/FilepostCom.py | |
parent | Prefer self.urls and self.packages for adding links (diff) | |
download | pyload-544900fde4e3f4441371ed7328aef07f51b5a358.tar.xz |
Remove some unused pattern attributes
Diffstat (limited to 'module/plugins/hoster/FilepostCom.py')
-rw-r--r-- | module/plugins/hoster/FilepostCom.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/FilepostCom.py b/module/plugins/hoster/FilepostCom.py index a6f3fae14..351576b29 100644 --- a/module/plugins/hoster/FilepostCom.py +++ b/module/plugins/hoster/FilepostCom.py @@ -39,11 +39,11 @@ class FilepostCom(SimpleHoster): __author_mail__ = "zoidberg@mujmail.cz" FILE_INFO_PATTERN = r'<input type="text" id="url" value=\'<a href[^>]*>(?P<N>[^>]+?) - (?P<S>[0-9\.]+ [kKMG]i?B)</a>\' class="inp_text"/>' - #FILE_INFO_PATTERN = r'<h1>(?P<N>[^<]+)</h1>\s*<div class="ul">\s*<ul>\s*<li><span>Size:</span> (?P<S>[0-9.]+) (?P<U>[kKMG])i?B</li>' OFFLINE_PATTERN = r'class="error_msg_title"> Invalid or Deleted File. </div>|<div class="file_info file_info_deleted">' + + PREMIUM_ONLY_PATTERN = r'members only. Please upgrade to premium|a premium membership is required to download this file' RECAPTCHA_KEY_PATTERN = r"Captcha.init\({\s*key:\s*'([^']+)'" FLP_TOKEN_PATTERN = r"set_store_options\({token: '([^']+)'" - PREMIUM_ONLY_PATTERN = r'members only. Please upgrade to premium|a premium membership is required to download this file' def handleFree(self): # Find token and captcha key |