This Python 3 script takes a user's rating file (ratings.csv
) exported from Letterboxd and converts it to that of IMDb's csv format. The output can then be imported to other sites which support importing from IMDB but not Letterboxd, such as Criticker and ICheckMovies. The script accesses IMDb for each entry (and also accesses Letterboxd if an initial IMDb search fails), so expect it to take at least 2-3 seconds per movie.
Requirements: bs4
(Beautiful Soup), requests
, and IMDbPy.
Usage:
python3 lbd2imdb.py [-h] [-i FILE] [-o FILE]
optional arguments:
-h, --help show this help message and exit
-i FILE ratings file exported from letterboxd, ratings.csv by default
-o FILE output file, output.csv by default
- The
Release Date
field is left blank in the exported csv file. TheYear
field is supported. - TV Specials are labeled as
movie
instead oftvSpecial
in the exported file.