Skip to content

Commit

Permalink
Added parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisStevens committed May 14, 2013
1 parent 3fd4bdd commit 33ec413
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Quandl/Quandl.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ def search(query, source = None, page= 1 , authtoken = None, prints = True):
search_url = 'http://www.quandl.com/api/v1/datasets.json?query='
#parse query for proper API submission
parsedquery = re.sub(" ", "+", query)
parsedquery = re.sub("&", "+", parsedquery)
url = search_url + parsedquery
#Use authtoken if present
if token:
Expand Down

0 comments on commit 33ec413

Please sign in to comment.