summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/UploadingCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-20 03:28:23 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-20 03:28:23 +0200
commita9f81c043c62abcb3ce38971237693736833fdbe (patch)
tree5c602d2aa7aefb245c33ad9c51eec44ab861f983 /module/plugins/hoster/UploadingCom.py
parent[StreamCz] Parse https (diff)
downloadpyload-a9f81c043c62abcb3ce38971237693736833fdbe.tar.xz
Fix hosters SH_COOKIES syntax
Diffstat (limited to 'module/plugins/hoster/UploadingCom.py')
-rw-r--r--module/plugins/hoster/UploadingCom.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/hoster/UploadingCom.py b/module/plugins/hoster/UploadingCom.py
index f2dc0cba2..acb833dae 100644
--- a/module/plugins/hoster/UploadingCom.py
+++ b/module/plugins/hoster/UploadingCom.py
@@ -37,10 +37,10 @@ class UploadingCom(SimpleHoster):
def process(self, pyfile):
# set lang to english
- self.req.cj.setCookie("uploading.com", "lang", "1")
- self.req.cj.setCookie("uploading.com", "language", "1")
- self.req.cj.setCookie("uploading.com", "setlang", "en")
- self.req.cj.setCookie("uploading.com", "_lang", "en")
+ self.req.cj.setCookie(".uploading.com", "lang", "1")
+ self.req.cj.setCookie(".uploading.com", "language", "1")
+ self.req.cj.setCookie(".uploading.com", "setlang", "en")
+ self.req.cj.setCookie(".uploading.com", "_lang", "en")
if not "/get/" in pyfile.url:
pyfile.url = pyfile.url.replace("/files", "/files/get")