Introduction to Webscraping with Python
This workshop introduces basic techniques in webscraping with Python primarily using the requests-html library. 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 (https://python.swaroopch.com/)
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.Webscraping with Python