summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/account/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-15 18:04:47 +0100
commit51e537831d330576af76e00e1420ebe504feca52 (patch)
treec58d846170c3d002382c4060b6abab516829e9a1 /pyload/plugins/account/FourSharedCom.py
parent[Plugin] Fix typo (thx rlindner81) (diff)
downloadpyload-51e537831d330576af76e00e1420ebe504feca52.tar.xz
Fix cookie domain
Diffstat (limited to 'pyload/plugins/account/FourSharedCom.py')
-rw-r--r--pyload/plugins/account/FourSharedCom.py2
1 files changed, 1 insertions, 1 deletions
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'],