Skip to content

Instantly share code, notes, and snippets.

View topherchung's full-sized avatar

Topher Chung topherchung

View GitHub Profile
anonymous
anonymous / main.py
Created October 20, 2014 21:33
OPGG AutoRecorder
import re
import urllib
import urllib2
from time import sleep
def do_http(url, data=None):
if data:
return urllib2.urlopen(urllib2.Request(url, data)).read()
else:
return urllib2.urlopen(urllib2.Request(url)).read()