summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/FilepostCom.py
diff options
context:
space:
mode:
authorGravatar igel-kun <mathiaswe@gmx.de> 2014-06-29 21:30:29 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-06-29 21:30:29 +0200
commit10ce4afb555375e2cf101c8e89b53f398ba67c8c (patch)
treecd65dfec8c5ca511fa61c7874406658d96d3a5bb /module/plugins/hoster/FilepostCom.py
parent[UpdateManager] Store new pyload's version number when a system update is ava... (diff)
downloadpyload-10ce4afb555375e2cf101c8e89b53f398ba67c8c.tar.xz
Update FilepostCom.py
Diffstat (limited to 'module/plugins/hoster/FilepostCom.py')
-rw-r--r--module/plugins/hoster/FilepostCom.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/plugins/hoster/FilepostCom.py b/module/plugins/hoster/FilepostCom.py
index 01ac76850..d173a0df4 100644
--- a/module/plugins/hoster/FilepostCom.py
+++ b/module/plugins/hoster/FilepostCom.py
@@ -34,7 +34,7 @@ class FilepostCom(SimpleHoster):
__name__ = "FilepostCom"
__type__ = "hoster"
__pattern__ = r'https?://(?:www\.)?(?:filepost\.com/files|fp.io)/([^/]+).*'
- __version__ = "0.27"
+ __version__ = "0.28"
__description__ = """Filepost.com hoster plugin"""
__author_name__ = "zoidberg"
__author_mail__ = "zoidberg@mujmail.cz"
@@ -44,6 +44,7 @@ class FilepostCom(SimpleHoster):
FILE_OFFLINE_PATTERN = r'class="error_msg_title"> Invalid or Deleted File. </div>|<div class="file_info file_info_deleted">'
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