On Friday, 12 June 2020 at 18:22:28 UTC, Selim wrote:
I wrote a small Yahoo finance scraper and wanted to share with the community. I have been using D for a while and I think contributing something to the community is good. There is an example main script and a unit test. Those should get you going. It currently saves the scraped data as a json file under the executable's folder. I might add a public method to access individual data columns inside json in the following days too.

All mistakes are my own and I appreciate any feedback.

https://github.com/SelimOzel/YahooMinerD

Best,
Selim

This could be a really cool tool to play with.

For the writing out part, maybe the class should accept a function or a delegate, or some template hook, to write out the data, so the user can define it itself. Your WriteToJson could then be an example for that.

Reply via email to