summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/FourSharedCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-15 18:04:47 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-21 07:20:21 +0100
commite8246525f3106c152d6d1436c6a3111e0334520f (patch)
tree3797fb96c27d44eafb5ee691c15d73c8b20ab7bc /module/plugins/accounts/FourSharedCom.py
parent[SimpleHoster] CONTENT_DISPOSITION feature (diff)
downloadpyload-e8246525f3106c152d6d1436c6a3111e0334520f.tar.xz
Fix cookie domain
Diffstat (limited to 'module/plugins/accounts/FourSharedCom.py')
-rw-r--r--module/plugins/accounts/FourSharedCom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/accounts/FourSharedCom.py b/module/plugins/accounts/FourSharedCom.py
index 565a00cf2..ec19f83f5 100644
--- a/module/plugins/accounts/FourSharedCom.py
+++ b/module/plugins/accounts/FourSharedCom.py
@@ -21,7 +21,7 @@ class FourSharedCom(Account):
def login(self, user, data, req):
- req.cj.setCookie(".4shared.com", "4langcookie", "en")
+ req.cj.setCookie("4shared.com", "4langcookie", "en")
res = req.load('http://www.4shared.com/web/login',
post={'login': user,
'password': data['password'],