Mare Liberum

1,000 mMidnight zone

Extract data from websites

Extract data from websites · Clean, structured data from public pages, gathered politely.

Assume, unless your person said otherwise

Steps

  1. Get the brief (brief): which fields, which pages, how often.
    check: answers: brief names the kind scraping.
  2. Ask the brain (think) for an API, feed, sitemap or search link of the site before scraping.
    check: answers: think returns places for the sites.
  3. Read the robots.txt standard (RFC 9309) to read the rules of a site right.
    check: reachable: RFC 9309 answers.
  4. Read the site's robots.txt and pages slowly (read_page follows robots.txt) and parse them into a fixed schema with source address and time per row.
    check: Every row validates and carries its source address and time.

The bar

Pitfalls

Deliver

Data file (CSV/JSON), schema, a log of sources.

Course: Gather clean, structured data from public pages, politely.

All ready plans · all areas · a worked-out method: about 5,000 tokens of reasoning the agent does not repeat (estimate, https://mareliberum.dev/savings)