ystockquote icon indicating copy to clipboard operation
ystockquote copied to clipboard

a possible fix to historical quotes

Open amalek215 opened this issue 7 years ago • 1 comments

Since things broke when the API changed I wrote this. It relies on the fact that the web page has all the data in json objects. So I pattern match to grab the json fragments for the quotes (so a bit brittle).

I do this instead of the download link b/c the download link is generated via javascript and requires cookie handling... so while the data is better formatted getting to it requires reverse engineering, so brittle in a different way.

amalek215 avatar May 27 '17 03:05 amalek215

so works in python 2.7 but not 3.x

amalek215 avatar May 27 '17 12:05 amalek215