ヘッダーに色々追加してリクエスト

>>>import urllib2
>>>req = urllib2.Request("http://www.google.co.jp")
>>>req.add_header("User-agent", "python")
>>>req.add_header("Pragma", "no-cache")
>>>urlhandler = urllib2.urlopen(req)