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 6634284 commit 24602b2
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=dict(params,**{'price':x_MPP_Harper['fare']['value'],timestamp:time.strftime('%Y-%m-%d %H:%M:%S')}))
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 24602b2

Please sign in to comment.