bs4 pypi code example Example 1: beautifulsoup4 install pip install beautifulsoup4 Example 2: python bs4 install pip install bs4 #this'll do the work