A primer on Python web site scraping

Matthew Phillips and John Wihbey provide step-by-step instructions for using the Python programming language to "scrape" data from a web site, in this case a list of prison inmates: "Most of the effort in web scraping is digging through the HTML source in your browser and figuring out how the data values are arranged. Start simple — just grab one value and print it out. Once you figure out how to extract one value, you’ll often be very close to the rest of the data."

August 14, 2015

ADVERTISEMENT
BWF Climate Change and Human Health Seed Grants

ADVERTISEMENT
EurekAlert! Travel Awards

ADVERTISEMENT
Sharon Begley Science Reporting Award