Skip to content
The Movie Script Scraper banner: "Movie Script Scraper" in white on red and teal stripes, with a film reel in the corner

Movie Script Scraper

Downloads movie scripts by genre, as text files you can count.

2018 · started by Tim Kendall

Movie Script Scraper downloads movie scripts by genre from the Internet Movie Script Database and saves each one as a plain text file you can search and count. It's where Bechdel.io got its scripts.

How it's made

Node.js · Cheerio · npm · CLI

It's a Node.js CLI and npm package. It fetches five scripts at a time, retries the ones that fail, and saves one text file per movie in a folder named for the genre. The code is on GitHub.

A GENRE CLI or npm package: --genre Action IMSDB imsdb.com/genre/Action FIND THE SCRIPTS every script link on the genre page FETCH 5 AT A TIME 3 retries, waiting 1, 2, then 4 s KEEP THE SCRIPT the text in <pre>, if it has 500+ characters SCRIPTS/ACTION/ one .txt per movie BECHDEL.IO got its scripts here
A GENRE CLI or npm package: --genre Action IMSDB imsdb.com/genre/Action FIND THE SCRIPTS every script link on the genre page FETCH 5 AT A TIME 3 retries, waiting 1, 2, then 4 s KEEP THE SCRIPT the text in <pre>, if it has 500+ characters SCRIPTS/ACTION/ one .txt per movie BECHDEL.IO got its scripts here

Lineage

If you liked this project, consider sharing it on Hacker News, Bluesky, LinkedIn, or X.

← All works