O'Reilly logo
  • LIANG LIANG thinks this is interesting:

however, the basic method for Linux is shown here:

From

Cover of Web Scraping with Python, 2nd Edition

Note

Suggest to use Anaconda, which integrates bs4.