Get your API key

Beginner · 5 lessons · 41 min

Collect web data the right way

Get data from websites into Google Sheets: downloads and APIs first, a small polite scraper only when needed, and no personal data trouble.

This course is general information for learning, not legal advice. For business use of collected data, ask a lawyer.

Who it's for

Students doing a project, freelancers doing price or market research, and office workers who copy tables from websites by hand. No coding needed: your AI agent writes the code, you decide what is allowed.

What you'll build

A clean Google Sheet of practice data collected by your own polite scraper, with a source and date on every row, plus a checklist you run before collecting from any website.

Why this course

With AI agents, anyone can write a scraper in minutes, but beginners don't know where the limits are. Indian businesses receive legal notices after routine price scraping, companies are unsure whether India's new data protection law covers public personal data they collect, and even careful coders misread robots.txt rules. This course teaches the safe order: ask for the data, read the rules, collect politely, keep personal data out.

Take first: Prompting for AI coding

Lessons in this course

  1. 1Ask for the data firstThe data ladder: downloads, official APIs and feeds before any scraping, and how to ask the owner when nothing fits. 7 min Free
  2. 2Read robots.txt and the termsWhat robots.txt says and doesn't say, how to read its lines, what to look for in terms of service, and when to stop. 8 min Log in to open
  3. 3Build a small, polite scraper with your agentSix rules for polite collecting, a Prompt Card that gets your agent to write a safe scraper, and what to do when a site says no. 9 min Log in to open
  4. 4Clean it into Google SheetsFix web-specific mess (currency text, star words, duplicates), keep a raw copy, import into Sheets, and use IMPORTHTML for simple tables. 8 min Log in to open
  5. 5Personal data and the law in IndiaWhat counts as personal data, the DPDP Act and its 2025 Rules in plain words, other rules that still apply, and what never to do. 9 min Log in to open
Next upSkills, commands and hooks: make your agent repeat great workTurn the long prompts you keep retyping into one-word commands, skills the agent picks up by itself, a read-only reviewer and checks that run every time.