Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 2.07 KB

README.md

File metadata and controls

28 lines (19 loc) · 2.07 KB

trakt---letterboxd-import

Import Letterboxd movie list (diary or movie list) into trakt.tv. Tested with python 3.10.

Usage:

  1. Export your Letterboxd data (under Settings->Import&Export)
  2. Create a trakt.tv application (http://trakt.tv/oauth/applications). Use "urn:ietf:wg:oauth:2.0:oob" as the redirect URI.
  3. 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.
  4. (a) For diary: $ python py-trakt-letterboxd-import.py diary.csv
  5. (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.

Optional

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:

  1. 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)
  2. (outdated) 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

Thanks

Some code-parts were taken from https://github.com/akampjes/trakt-list-import !