diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-11-15 18:04:47 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-11-15 18:04:47 +0100 |
commit | 51e537831d330576af76e00e1420ebe504feca52 (patch) | |
tree | c58d846170c3d002382c4060b6abab516829e9a1 /pyload/plugins/account/UlozTo.py | |
parent | [Plugin] Fix typo (thx rlindner81) (diff) | |
download | pyload-51e537831d330576af76e00e1420ebe504feca52.tar.xz |
Fix cookie domain
Diffstat (limited to 'pyload/plugins/account/UlozTo.py')
-rw-r--r-- | pyload/plugins/account/UlozTo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/plugins/account/UlozTo.py b/pyload/plugins/account/UlozTo.py index 4e663efa9..2cdab0167 100644 --- a/pyload/plugins/account/UlozTo.py +++ b/pyload/plugins/account/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 |