summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-03-14 13:21:13 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-03-14 13:21:13 +0100
commit91042996f7291c5cf01afdb7ce47ca84b75a1ebb (patch)
tree48ec251c5a7a746a4c20c2ad0595a19a15b556a7 /module/plugins/accounts
parentnew ul plugin (diff)
downloadpyload-91042996f7291c5cf01afdb7ce47ca84b75a1ebb.tar.xz
ul direct download
Diffstat (limited to 'module/plugins/accounts')
-rw-r--r--module/plugins/accounts/UploadedTo.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/module/plugins/accounts/UploadedTo.py b/module/plugins/accounts/UploadedTo.py
index e0782e3e4..63092a3cb 100644
--- a/module/plugins/accounts/UploadedTo.py
+++ b/module/plugins/accounts/UploadedTo.py
@@ -31,7 +31,6 @@ class UploadedTo(Account):
def loadAccountInfo(self, user, req):
html = req.load("http://uploaded.to/me", cookies=True)
- open("ul.html", "wb").write(html)
premium = '<a href="me#premium"><em>Premium</em>' in html
@@ -54,4 +53,4 @@ class UploadedTo(Account):
self.wrongPassword()
req.load("http://uploaded.to/language/en")
- req.cj.setCookie(".uploaded.to", "lang", "en")
+ req.cj.setCookie("uploaded.to", "lang", "en")