From 5a0cd07a791f28db8433de775d12adaed3ee9548 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Mon, 6 Oct 2014 13:24:26 +0200 Subject: [LomafileCom] Premium support + updated patterns --- module/plugins/accounts/LomafileCom.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 module/plugins/accounts/LomafileCom.py (limited to 'module/plugins/accounts') 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'Premium account expire:([^<]+)' + TRAFFIC_LEFT_PATTERN = r'Traffic available today:(?P[^<]+)' -- cgit v1.2.3