Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
danozgriff committed Feb 28, 2016
1 parent a9060bf commit 1f2e520
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

#D-1

d1date=todaydate - datetime.timedelta(days=15)
d1date=todaydate - datetime.timedelta(days=45)
#d1list = scraperwiki.sqlite.execute("select `Price` from Signal_History where tidm = '" + tidm + "' and strftime('%Y', date) = '" + str(d1date.year) + "' and strftime('%-m', date) = '" + str(d1date.month) + "' and strftime('%-d', date) = '" + str(d1date.day) + "'")
#d1list = scraperwiki.sqlite.execute("select `TIDM`, `Price`, `Date` from Signal_History where tidm = '" + tidm + "' and CAST(strftime('%m', Datde) AS INTEGER) > 1")
#d1list = scraperwiki.sqlite.execute("select `TIDM`, `Price`, `Date` from Signal_History where tidm = '" + tidm + "' and strftime('%Y-%m-%d',Date) = '2016-02-15'")
Expand Down

0 comments on commit 1f2e520

Please sign in to comment.