From cec978171a321da97eb087d26107698880ad4087 Mon Sep 17 00:00:00 2001 From: t4skforce Date: Fri, 16 May 2014 17:08:46 +0200 Subject: [MovReel] Account plugin Merges #609 --- module/plugins/accounts/MovReelCom.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 module/plugins/accounts/MovReelCom.py (limited to 'module/plugins/accounts/MovReelCom.py') diff --git a/module/plugins/accounts/MovReelCom.py b/module/plugins/accounts/MovReelCom.py new file mode 100644 index 000000000..2225261f0 --- /dev/null +++ b/module/plugins/accounts/MovReelCom.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- + +from module.plugins.internal.XFSPAccount import XFSPAccount + + +class MovReelCom(XFSPAccount): + __name__ = "MovReelCom" + __version__ = "0.01" + __type__ = "account" + __description__ = """Movreel.com account plugin""" + __author_name__ = "t4skforce" + __author_mail__ = "t4skforce1337[AT]gmail[DOT]com" + + login_timeout = 60 #: after that time [in minutes] pyload will relogin the account + info_threshold = 30 #: account data will be reloaded after this time + + MAIN_PAGE = "http://movreel.com/" + + TRAFFIC_LEFT_PATTERN = r'Traffic.*?([^<]+)' + LOGIN_FAIL_PATTERN = r']*>Incorrect Login or Password
' -- cgit v1.2.3