diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-10-06 13:24:26 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-10-06 13:24:26 +0200 |
commit | 5a0cd07a791f28db8433de775d12adaed3ee9548 (patch) | |
tree | 33f26145e763466b03d476836cc9899134a64246 /module/plugins/accounts | |
parent | [XFSPAccount] Improve patterns (diff) | |
download | pyload-5a0cd07a791f28db8433de775d12adaed3ee9548.tar.xz |
[LomafileCom] Premium support + updated patterns
Diffstat (limited to 'module/plugins/accounts')
-rw-r--r-- | module/plugins/accounts/LomafileCom.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/module/plugins/accounts/LomafileCom.py b/module/plugins/accounts/LomafileCom.py new file mode 100644 index 000000000..feefdbf47 --- /dev/null +++ b/module/plugins/accounts/LomafileCom.py @@ -0,0 +1,19 @@ +# -*- coding: utf-8 -*- + +from module.plugins.internal.XFSPAccount import XFSPAccount + + +class LomafileCom(XFSPAccount): + __name__ = "LomafileCom" + __type__ = "account" + __version__ = "0.01" + + __description__ = """Lomafile.com account plugin""" + __author_name__ = "guidobelix" + __author_mail__ = "guidobelix@hotmail.it" + + + HOSTER_URL = "http://www.lomafile.com/" + + VALID_UNTIL_PATTERN = r'<b>Premium account expire:([^<]+)</b>' + TRAFFIC_LEFT_PATTERN = r'<TR><TD>Traffic available today:</TD><TD><b>(?P<S>[^<]+)</b>' |