summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts
diff options
context:
space:
mode:
authorGravatar t4skforce <t4skforce@t4skforce-m11x.neumair.net> 2014-05-16 17:08:46 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2014-05-16 17:08:46 +0200
commitcec978171a321da97eb087d26107698880ad4087 (patch)
tree9b967e1885664d6118dadf32606330456d3c2e14 /module/plugins/accounts
parentMerge pull request #617 from stefanos/patch-9 (diff)
downloadpyload-cec978171a321da97eb087d26107698880ad4087.tar.xz
[MovReel] Account plugin
Merges #609
Diffstat (limited to 'module/plugins/accounts')
-rw-r--r--module/plugins/accounts/MovReelCom.py20
1 files changed, 20 insertions, 0 deletions
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.*?<b>([^<]+)</b>'
+ LOGIN_FAIL_PATTERN = r'<b[^>]*>Incorrect Login or Password</b><br>'