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/UploadingCom.py | |
parent | [SimpleHoster] CONTENT_DISPOSITION feature (diff) | |
download | pyload-e8246525f3106c152d6d1436c6a3111e0334520f.tar.xz |
Fix cookie domain
Diffstat (limited to 'module/plugins/accounts/UploadingCom.py')
-rw-r--r-- | module/plugins/accounts/UploadingCom.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/accounts/UploadingCom.py b/module/plugins/accounts/UploadingCom.py index 8747af133..c70d2ec11 100644 --- a/module/plugins/accounts/UploadingCom.py +++ b/module/plugins/accounts/UploadingCom.py @@ -53,10 +53,10 @@ class UploadingCom(Account): def login(self, user, data, req): - set_cookies([(".uploading.com", "lang", "1"), - (".uploading.com", "language", "1"), - (".uploading.com", "setlang", "en"), - (".uploading.com", "_lang", "en")] + set_cookies([("uploading.com", "lang", "1"), + ("uploading.com", "language", "1"), + ("uploading.com", "setlang", "en"), + ("uploading.com", "_lang", "en")] req.load("http://uploading.com/") req.load("http://uploading.com/general/login_form/?JsHttpRequest=%s-xml" % long(time() * 1000), |