From 51e537831d330576af76e00e1420ebe504feca52 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sat, 15 Nov 2014 18:04:47 +0100 Subject: Fix cookie domain --- pyload/plugins/account/FourSharedCom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyload/plugins/account/FourSharedCom.py') diff --git a/pyload/plugins/account/FourSharedCom.py b/pyload/plugins/account/FourSharedCom.py index 110572faa..20293fa5d 100644 --- a/pyload/plugins/account/FourSharedCom.py +++ b/pyload/plugins/account/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'], -- cgit v1.2.3