Fixed .urban, added % to stock.py - Thank you @Atheuz :) (original commit: 68e5535ca4
)
This commit is contained in:
parent
f8b05e6b6d
commit
f589133d80
4 changed files with 8 additions and 5 deletions
|
@ -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':
|
||||
|
|
Reference in a new issue