Structured scraping
Search Open Library books
Find books on Open Library and extract titles, authors, editions, and metadata from search results.
Run this template
Clone just this template, configure Notte, and start the run.
Before running
- Have
NOTTE_API_KEYready. Generate an API key.
Need help? Join the Notte Slack.
Extraction path
- Uses a Notte-hosted Chrome browser session and the Open Library web search UI.
- Defaults to the hobbit, then returns title, authors, publication year, editions, ebook count, availability, ratings, and work URLs.
- Parameterized by command-line arguments or environment variables.
- Uses inline uv script metadata, so no template-specific pyproject.toml is required.
Query controls
- OPENLIBRARY_QUERY: search query. Default: the hobbit.
- OPENLIBRARY_MAX_RESULTS: number of visible results to extract. Default: 5.
- OPENLIBRARY_OUTPUT_PATH: optional path for writing the JSON result.
- NOTTE_API_KEY: Notte API key. Loaded from the environment or local .env.
Try another target
- Book discovery demos.
- Public-catalog search extraction.
- Examples of turning a Notte CLI workflow export into a parameterized Python workflow.