From acc46fc3497a66a427b795b4a22c6e71d69185a1 Mon Sep 17 00:00:00 2001
From: Walter Purcaro <vuolter@gmail.com>
Date: Sat, 13 Dec 2014 15:56:57 +0100
Subject: Update

---
 pyload/plugins/account/PremiumTo.py | 34 ----------------------------------
 1 file changed, 34 deletions(-)
 delete mode 100644 pyload/plugins/account/PremiumTo.py

(limited to 'pyload/plugins/account/PremiumTo.py')

diff --git a/pyload/plugins/account/PremiumTo.py b/pyload/plugins/account/PremiumTo.py
deleted file mode 100644
index 191678434..000000000
--- a/pyload/plugins/account/PremiumTo.py
+++ /dev/null
@@ -1,34 +0,0 @@
-# -*- coding: utf-8 -*-
-
-from pyload.plugins.Account import Account
-
-
-class PremiumTo(Account):
-    __name    = "PremiumTo"
-    __type    = "account"
-    __version = "0.04"
-
-    __description = """Premium.to account plugin"""
-    __license     = "GPLv3"
-    __authors     = [("RaNaN", "RaNaN@pyload.org"),
-                       ("zoidberg", "zoidberg@mujmail.cz"),
-                       ("stickell", "l.stickell@yahoo.it")]
-
-
-
-    def loadAccountInfo(self, user, req):
-        api_r = req.load("http://premium.to/api/straffic.php",
-                         get={'username': self.username, 'password': self.password})
-        traffic = sum(map(int, api_r.split(';')))
-
-        return {"trafficleft": int(traffic) / 1024, "validuntil": -1}  #@TODO: Remove / 1024 in 0.4.10
-
-
-    def login(self, user, data, req):
-        self.username = user
-        self.password = data['password']
-        authcode = req.load("http://premium.to/api/getauthcode.php",
-                            get={'username': user, 'password': self.password}).strip()
-
-        if "wrong username" in authcode:
-            self.wrongPassword()
-- 
cgit v1.2.3