summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/FilefactoryCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts/FilefactoryCom.py')
-rw-r--r--module/plugins/accounts/FilefactoryCom.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/accounts/FilefactoryCom.py b/module/plugins/accounts/FilefactoryCom.py
index 73431b546..356c5d22a 100644
--- a/module/plugins/accounts/FilefactoryCom.py
+++ b/module/plugins/accounts/FilefactoryCom.py
@@ -23,13 +23,13 @@ from time import mktime, strptime
class FilefactoryCom(Account):
__name__ = "FilefactoryCom"
- __version__ = "0.11"
+ __version__ = "0.12"
__type__ = "account"
__description__ = """filefactory.com account plugin"""
__author_name__ = ("zoidberg")
__author_mail__ = ("zoidberg@mujmail.cz")
- ACCOUNT_INFO_PATTERN = r'"greenText">Premium member until<.*?datetime="(.*?)"'
+ ACCOUNT_INFO_PATTERN = r'<a href="/premium/">.*?datetime="(.*?)"'
def loadAccountInfo(self, user, req):
html = req.load("http://www.filefactory.com/member/")
@@ -51,4 +51,4 @@ class FilefactoryCom(Account):
"redirect": "/"})
if '/member/login.php?err=1' in req.http.header:
- self.wrongPassword() \ No newline at end of file
+ self.wrongPassword()