hurf durf
This commit is contained in:
parent
8531bdd76c
commit
f493927eb9
|
@ -23,7 +23,7 @@ def wiki(inp):
|
||||||
if not inp:
|
if not inp:
|
||||||
return wiki.__doc__
|
return wiki.__doc__
|
||||||
|
|
||||||
q = search_url % (urllib.quote(inp, safe=''))
|
q = search_url % (urllib2.quote(inp, safe=''))
|
||||||
|
|
||||||
request = urllib2.Request(q)
|
request = urllib2.Request(q)
|
||||||
request.add_header('User-Agent', 'Skybot/1.0 http://bitbucket.org/Scaevolus/skybot/')
|
request.add_header('User-Agent', 'Skybot/1.0 http://bitbucket.org/Scaevolus/skybot/')
|
||||||
|
|
Loading…
Reference in New Issue