I am trying to extract information from Caps run by Fool. However, using Gumbo and Cascadia, the html page appears to contain no useful information (and certainly not what I am after in a direct way). How can I get the information that is shown in my browser (for example, the Caps rating of 4)?
Here is my my code:
url = "https://caps.fool.com/Ticker/MSFT.aspx"
page = parsehtml(read(download(url), String))
What if I wanted to access information further down on the website. For example, the information that of “All Players” 14,714 think MSFT will “Outperform” while 2,044 think it will “Underperform”. I am stuck “digging in” to the website beyond .root.
I don’t think there’s any magic here, just Ctrl+F for the information you’re after in the site’s source code and then check whether there’s a CSS element that you can select which contains what you need.