diff options
Diffstat (limited to 'omegle.py')
-rw-r--r-- | omegle.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -133,7 +133,9 @@ class OmegleChat(RESTClient): self.logger.error("Cant send message if not is_confirmed") return ###XXX raise?? - r = RESTClient.request(self,"POST","/send",urllib.urlencode({'id':self.id,'msg':msg})) + params = {'ala':'gaga','id':self.id,'msg':msg,'zla2':'gaga2'} + params = urllib.urlencode(params) + r = RESTClient.request(self,"POST","/send",params) body = r.read() if body != "win": self.logger.error("/send; Bad response %s" % body) |