diff options
-rw-r--r-- | count.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/count.py b/count.py new file mode 100644 index 0000000..e175f2c --- /dev/null +++ b/count.py @@ -0,0 +1,16 @@ +import httplib +import urllib + +headers = { + "Host" : "omegle.com", + "Content-type": "application/x-www-form-urlencoded; charset=utf-8", + "Accept": "application/json" +} +conn = httplib.HTTPConnection('www.omegle.com') +conn.request("GET", + "/count", + urllib.urlencode({}), + headers) +print conn.getresponse().read() +conn.close() + |