To start Web Scraping tutorials, the first thing to do is to install the 3 libraries: BeautifulSoup, Requests, and LXML. We will use PIP. Note that sudo might be required if you are on Linux or Mac.
- pip install beautifulsoup4
- pip install requests
- pip install lxml
To make sure that things work fine, open a new Python file, write the following and run:
1 2 3 |
from bs4 import BeautifulSoup import requests |
Try that on your machine and let me know if you have questions. Then, move to Beautiful Soup Tutorial #2: Extracting URLs
Awesome! Thank you so, so much.