blob: e175f2c06f32b1b9616bca3d6a0b58f4c1afb5e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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()
|