summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/account/ShareonlineBiz.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/ShareonlineBiz.py
parent[Plugin] Fix typo (thx rlindner81) (diff)
downloadpyload-51e537831d330576af76e00e1420ebe504feca52.tar.xz
Fix cookie domain
Diffstat (limited to 'pyload/plugins/account/ShareonlineBiz.py')
-rw-r--r--pyload/plugins/account/ShareonlineBiz.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugins/account/ShareonlineBiz.py b/pyload/plugins/account/ShareonlineBiz.py
index cc411ad72..dbbe93869 100644
--- a/pyload/plugins/account/ShareonlineBiz.py
+++ b/pyload/plugins/account/ShareonlineBiz.py
@@ -30,9 +30,9 @@ class ShareonlineBiz(Account):
self.logDebug(info)
if "dl" in info and info['dl'].lower() != "not_available":
- req.cj.setCookie(".share-online.biz", "dl", info['dl'])
+ req.cj.setCookie("share-online.biz", "dl", info['dl'])
if "a" in info and info['a'].lower() != "not_available":
- req.cj.setCookie(".share-online.biz", "a", info['a'])
+ req.cj.setCookie("share-online.biz", "a", info['a'])
return {"validuntil": int(info['expire_date']) if "expire_date" in info else -1,
"trafficleft": -1,