I am creating a speech assistant using speech_recognition in Python. So far I am able to get the search results in Google and YouTube, by giving input voice commands.
But How do I open the links of these search results?
For Example, please refer the picture below:
In the above screenshot shows the search results for: "open the first link form Google search results using Python". I would like to open the first link of stackoverflow.com automatically.
I would also like to do the same thing with YouTube search results.
Please guide me with the proper approach to accomplish this.
Thank you all in advance.
Use BeautifulSoup!