remove premature encoding of url parameters
This commit is contained in:
@@ -748,7 +748,7 @@ def ignore_user(argv, **args):
|
|||||||
def search_the_web(argv, **args):
|
def search_the_web(argv, **args):
|
||||||
url = 'http://api.duckduckgo.com/'
|
url = 'http://api.duckduckgo.com/'
|
||||||
params = dict(
|
params = dict(
|
||||||
q='+'.join(argv),
|
q=' '.join(argv),
|
||||||
format='json',
|
format='json',
|
||||||
pretty=0,
|
pretty=0,
|
||||||
no_redirect=1,
|
no_redirect=1,
|
||||||
|
|||||||
Reference in New Issue
Block a user