Interacting with Website input and output

I wonder how a Mycroft skill can be designed to interact with a text or html based website like . For example, I like adjusting the growth rate of the valuation estimator there to return an estimated fair value for a stock. and, I’d like to be able to say: “Mycroft, what is the fair value of IBM if we use a 9% growth rate.”

1 Like


webscrapping intro:

depending on the website you can use any standard python approach, request or beautifull soup should be enough, make sure the website does not have an api you can use instead

if you need selenium, well, it sucks to have many skills launching a browser so i made a shared browser skill

use requests to get the page and parse it.

Look at Jarbas example, or my numberskill, it also parses a webpage.

1 Like