wk10-d01-checklist
Chico State
DATA 385 - Fall 2026
October 27, 2026
Before we write any scraping code, we decide whether we should. Today we build a “before you scrape” checklist, test an LLM’s advice against it, and run IMDb through it. Then you use the checklist in AE08.
Think first, then pair up. Someone scraped 70,000 public OkCupid profiles and posted them online. The profiles were public. Was that okay? Yes, no, or it depends?
Public is not the same as okay. A checklist does not make the decision for you. It makes sure you looked before you scraped.
Five things to check before scraping a site.
Open www.csuchico.edu/robots.txt in your browser.
User-agent: *. The * means every robot, including yours.Disallow: lines list the paths robots are asked to avoid. Disallow: / is the whole site.Disallow? An empty file asks robots to avoid nothing.robots.txt is a request, not a lock.Last week’s rules still apply. A scraped dataset about people is still personal data.
Load
Official alternative
Open an LLM (or collaborate with a neighbor) and send it this prompt.
Can I scrape IMDb's Top 250 page?
Check what it told you
Whatever it said, the next step is the same. Check the source.
Run the checklist on IMDb’s Top 250 page.
Disallow: /. A comment at the top prohibits scraping without written permission.Sources:
read_html()?As of 10/21/26.
Two items pass and two say no. We do not average them. A clear “no” in the site’s own rules ends it.
Important
We do not scrape IMDb.
Give it the URL and specify the part you want.
html_table() first. It needs no selectors.html_text() output.html_elements(), no error handling, under 10 lines.”Go to [URL]. What is the node name or CSS
selector for the header that says "[text]"?
On [URL], what should I look for to pull out
all the rows of the table under that header,
starting at the first data row? rvest only.
Here are 5 values from html_text(): [paste].
What pattern do they share? Tidyverse only:
how do I pull out just the number?
On [URL], how do I get the web address of
every link in the list of results, and not
the links in the menu? rvest only.