Python for Economists

Scraping Websites with lxml.html

Import the modules for this tutorial

To start, enter the lines on the right into the terminal below. Note that you may already have the requests module imported from a previous tutorial. When that's done, click the "Next" button above the terminal to continue the tutorial.

import requests
import lxml.html