summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/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-21 07:20:21 +0100
commite8246525f3106c152d6d1436c6a3111e0334520f (patch)
tree3797fb96c27d44eafb5ee691c15d73c8b20ab7bc /module/plugins/accounts/ShareonlineBiz.py
parent[SimpleHoster] CONTENT_DISPOSITION feature (diff)
downloadpyload-e8246525f3106c152d6d1436c6a3111e0334520f.tar.xz
Fix cookie domain
Diffstat (limited to 'module/plugins/accounts/ShareonlineBiz.py')
-rw-r--r--module/plugins/accounts/ShareonlineBiz.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/accounts/ShareonlineBiz.py b/module/plugins/accounts/ShareonlineBiz.py
index 331bb9f74..976d2ff14 100644
--- a/module/plugins/accounts/ShareonlineBiz.py
+++ b/module/plugins/accounts/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,