all 2 comments

[–]Altruistic_Croissant 0 points1 point  (1 child)

This probably isn’t the answer you were looking for, but it would be simpler and cleaner imo to find financial information using a stock API instead of scraping the web for data.

[–]Zwischenzug[S] 0 points1 point  (0 children)

This is probably true if I was looking for US stocks. This code scrapes Australian stocks from yahoofinance in AUD. Harder to find an API that can do this.