Fixed .urban, added % to stock.py - Thank you @Atheuz :) (original commit: 68e5535ca4)

This commit is contained in:
Luke Rogers 2012-06-04 02:41:19 +12:00
parent f8b05e6b6d
commit f589133d80
4 changed files with 8 additions and 5 deletions

View file

@ -23,7 +23,7 @@ def urban(inp):
# fetch the definitions
url = 'http://www.urbandictionary.com/iphone/search/define'
page = http.get_json(url, term=input)
page = http.get_json(url, term=input, referer="http://m.urbandictionary.com")
defs = page['list']
if page['result_type'] == 'no_results':