COVID-19 update

All libraries are CLOSED due to poor air quality.
For updates visit

Access to campus libraries is limited.

Please explore our online resources & services. We’re here, ask us!

Webscraping with Python


Date and Time 
November 30, 2017
2:00pm to 4:00pm
Green Library 121A

Free and open to all Stanford affiliates. Registration required at: Webscraping with Python

Event Sponsor 
Stanford University Libraries

This workshop introduces basic techniques in webscraping with Python primarily using the Requests and BeautifulSoup libraries. You’ll learn how to write a script to scrape multiple pages of a website, select particular information from a page, and save that information in a structured file. We’ll also discuss some of the legal and ethical issue involved in webscraping.
Prerequisites: You should be familiar with basic Python syntax and fundamental programming concepts such as variables, functions, and control flow. If you need a refresher, check out A Byte of Python
This workshop is offered by Stanford Libraries' Center for Interdisciplinary Research as part of its mission to provide training in technical academic research practices and applied research methods.