A Node.js script that adds IMDb and TMDB IDs to a Letterboxd exported CSV file.
- Clone the repository or download it as a zip
git clone https://github.com/Tetrax-10/letterboxd-csv-imdb-tmdb-mapper.git
- Install dependencies
npm install
-
Create a
input
folder in the root of this repo and export your Letterboxd data, extract the zip file, and put yourwatched.csv
file inside theinput
folder. -
npm run scrape "watched.csv"
After this you can see the output in the
output
folder.That's it! 🎉
Caution
When scraping CSVs that don't have direct film links eg: diary.csv
, add nocache
argument. Else the script will fail to scrape the CSV.
npm run scrape "diary.csv" nocache
npm run scrape "watched.csv" imdb b10
imdb
: IMDb format outputb10
: convert rating to base 10