summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/LomafileCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts/LomafileCom.py')
-rw-r--r--module/plugins/accounts/LomafileCom.py19
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>'