We have used https://en.wikipedia.org/wiki/Special:Random this link to generate random articles.
Beautiful Soup is a Python package for parsing HTML and XML documents. It creates a parse tree for parsed pages that can be used to extract data from HTML, which is useful for web scraping.
The requests module allows you to send HTTP requests using Python. The HTTP request returns a Response Object with all the response data (content, encoding, status, etc). But nowadays we just use json method.
The webbrowser module provides a high-level interface to allow displaying web-based documents to users. Simply calling the open() function from this module will do the right thing.