diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-11-15 18:04:47 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-11-21 07:20:21 +0100 |
commit | e8246525f3106c152d6d1436c6a3111e0334520f (patch) | |
tree | 3797fb96c27d44eafb5ee691c15d73c8b20ab7bc /module/plugins/accounts/UlozTo.py | |
parent | [SimpleHoster] CONTENT_DISPOSITION feature (diff) | |
download | pyload-e8246525f3106c152d6d1436c6a3111e0334520f.tar.xz |
Fix cookie domain
Diffstat (limited to 'module/plugins/accounts/UlozTo.py')
-rw-r--r-- | module/plugins/accounts/UlozTo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/accounts/UlozTo.py b/module/plugins/accounts/UlozTo.py index ea2562280..63adb6aa8 100644 --- a/module/plugins/accounts/UlozTo.py +++ b/module/plugins/accounts/UlozTo.py @@ -26,7 +26,7 @@ class UlozTo(Account): html = req.load("http://www.ulozto.net/", decode=True) - req.cj.setCookie(".ulozto.net", "ULOSESSID", self.phpsessid) + req.cj.setCookie("ulozto.net", "ULOSESSID", self.phpsessid) m = re.search(self.TRAFFIC_LEFT_PATTERN, html) trafficleft = int(float(m.group(1).replace(' ', '').replace(',', '.')) * 1000 * 1.048) if m else 0 |