Tutorial for Zyte Web Data for Claude Code¶
With Claude Code and Zyte Web Data for Claude Code, you can write better web scraping code faster:
Create a new folder and start a Claude Code session:
mkdir claude-tutorial cd claude-tutorial claude
Prompt Claude Code to:
Scrape books.toscrape.com
Claude Code will take care of the rest, interacting with you only when needed. For example:
It will ask you how to get a detail page to analyze. You can, for example, choose to Explore the site to let Claude Code find a detail page on its own.
It will analyze detail pages and propose fields to extract with example data, and you can adjust the extracted data schema to fit your preferences.
It will also later on give you the option to open a browser review, a local web app where you can review data extracted with the earlier schema and provide feedback to the model about it.