This recipe requires the installation of the third-party library bs4. This module can be installed via the following command. All other libraries used in this script are present in Python's standard library.
pip install bs4==0.0.1
Learn more about the bs4 library; visit https://www.crummy.com/software/BeautifulSoup/bs4/doc/.