Skip to content

Commit

Permalink
SQLite debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
adityabindal committed Feb 9, 2017
1 parent 30df2ca commit 3e5e766
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.py
Expand Up @@ -49,7 +49,7 @@ def getPrices():
x_MPP_Harper=requests.post(url,json=params,headers=headers).json()
scraperwiki.sqlite.save(
unique_keys=['timestamp','product'],
data={'timestamp':time.strftime('%Y-%m-%d %H:%M:%S'),'product':'uberX','price':x_MPP_Harper['fare']['value']})
data=dict(params,**{'price':x_MPP_Harper['fare']['value'],timestamp:time.strftime('%Y-%m-%d %H:%M:%S')})

params={
'start_latitude':gps_MPP.latitude,
Expand Down

0 comments on commit 3e5e766

Please sign in to comment.