Import Letterboxd movie list (diary or movie list) into trakt.tv.
- Export your Letterboxd data (under Settings->Import&Export)
- Create a trakt.tv application (http://trakt.tv/oauth/applications). Use "urn:ietf:wg:oauth:2.0:oob" as the redirect URI.
- Fill in the client id, client secret and the code in the python file. The code is obtained by pointing your browser to the Pin-URL.
- (a) For diary:
$ python py-trakt-letterboxd-import.py diary.csv
- (b) For watched:
$ python py-trakt-letterboxd-import.py --watched watched.csv
Note for the watched.csv: If you choose the watched.csv file every movie marked as watched in letterboxd will be imported. However, since there is no date given at which you have watched the movies (like for the diary), all of them will be imported for the same day and time (time of import) in trakt.tv. Furthermore in some rare cases there is no year given/set for some movies in the watched.csv file and therefore the import stops with an error unless you manually set it.
There is the possibility to optionally use an API for retrieving the imdB id for each movie. This can help if some of the movies have a different title at letterboxd than on imdb or trakt. However, in most cases this is not needed and the import will take longer when using the API.
If you decide to use it set CHECK_IMDB_ID = True
and specify an API Url. Typical APIs to use:
- OmdB Api (was free, currently is private only and you need to apply for an API key) (typically 1000keys per day are given out for free)
- TheApache64 API A free IMDB Api provided by github User theapache64. An implentation into the trakt-letterboxd importer can be found in this branch: Click
Some code-parts were taken from https://github.com/akampjes/trakt-list-import !