use requests rather than urllib.request (needs to be installed
follow snippsat's tutorial here:
web scraping part 1
web scraping part 2
then to get a list of all links:
pip install requests
)follow snippsat's tutorial here:
web scraping part 1
web scraping part 2
then to get a list of all links:
linklist = soup.find_all('a') for link in linklist: print(f"{link.get('href')}")