One useful package for web scraping that you can find in Python’s standard library is urllib , which contains tools for working with URLs. In particular, the urllib. request module contains a function called urlopen() that can be used to open a URL within a program.