# pip install beautifulsoup4 # # pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org beautifulsoup4 # import os from bs4 import BeautifulSoup from urllib.request import urlopen from pathlib import Path path = Path(os.path.join(os.getcwd(), 'html\IPhreeqc_8h.html')) response = urlopen(path.as_uri()) soup = BeautifulSoup(response, 'html.parser') #print(soup.prettify()) #print(soup.find_all('a', 'el')) #print('\t\t