summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts
diff options
context:
space:
mode:
authorGravatar Nitzo <nitzo2001@yahoo.com> 2016-06-18 21:19:06 +0200
committerGravatar Nitzo <nitzo2001@yahoo.com> 2016-06-18 21:19:06 +0200
commit23c50ea340b96bc0f2d6746a070d5564dfe1cad3 (patch)
treeb5255a46e105f3e2acd5fc8576d1c91b6cd6ace4 /module/plugins/accounts
parent[MegaCoNz] Update (diff)
downloadpyload-23c50ea340b96bc0f2d6746a070d5564dfe1cad3.tar.xz
[BitshareCom] Dead, fix #2510
Diffstat (limited to 'module/plugins/accounts')
-rw-r--r--module/plugins/accounts/BitshareCom.py36
1 files changed, 0 insertions, 36 deletions
diff --git a/module/plugins/accounts/BitshareCom.py b/module/plugins/accounts/BitshareCom.py
deleted file mode 100644
index 58a589abc..000000000
--- a/module/plugins/accounts/BitshareCom.py
+++ /dev/null
@@ -1,36 +0,0 @@
-# -*- coding: utf-8 -*-
-
-from module.plugins.internal.Account import Account
-
-
-class BitshareCom(Account):
- __name__ = "BitshareCom"
- __type__ = "account"
- __version__ = "0.19"
- __status__ = "testing"
-
- __description__ = """Bitshare account plugin"""
- __license__ = "GPLv3"
- __authors__ = [("Paul King", None)]
-
-
- def grab_info(self, user, password, data):
- html = self.load("http://bitshare.com/mysettings.html")
-
- if "\"http://bitshare.com/myupgrade.html\">Free" in html:
- return {'validuntil': -1, 'trafficleft': -1, 'premium': False}
-
- if not '<input type="checkbox" name="directdownload" checked="checked" />' in html:
- self.log_warning(_("Activate direct Download in your Bitshare Account"))
-
- return {'validuntil': -1, 'trafficleft': -1, 'premium': True}
-
-
- def signin(self, user, password, data):
- html = self.load("https://bitshare.com/login.html",
- post={'user' : user,
- 'password': password,
- 'submit' : "Login"})
-
- if "login" in self.req.lastEffectiveURL:
- self.fail_login()