Skip to content

Instantly share code, notes, and snippets.

View DenverCoder1's full-sized avatar
👨‍💻
Always learning!

Jonah Lawrence DenverCoder1

👨‍💻
Always learning!
View GitHub Profile
@DenverCoder1
DenverCoder1 / README.md
Last active January 18, 2023 22:48
Import MovieLens Ratings to Trakt.tv

Script for importing ratings and watched movies from MovieLens to Trakt.

Steps for running the script:

  1. Download movielens-ratings.csv and movielens-logs.csv from https://movielens.org/profile/settings/import-export by clicking "export ratings" and "export activity logs"
  2. Change the RATINGS_CSV and LOGS_CSV variables in secrets.py to point to the paths of the downloaded files
  3. Change the ACCESS_TOKEN and CLIENT_ID variables to your Trakt API access token and client ID (see steps below)
  4. Run the Python script

Steps to get Trakt API access token and client ID:

@DenverCoder1
DenverCoder1 / README.md
Last active November 5, 2024 16:48
Convert MovieLens CSV export to Letterboxd import format

Script for converting watched movies and Wishlist CSVs from MovieLens to Letterboxd format.

Steps:

  1. Download movielens-ratings.csv and movielens-logs.csv from https://movielens.org/profile/settings/import-export by clicking "export ratings" and "export activity logs". For watchlist import, also download movielens-wishlist.csv by clicking "export wishlist".
  2. Change the RATINGS_CSV, LOGS_CSV, and WISHLIST_CSV to the paths of the movielens-ratings.csv, movielens-logs.csv, and movielens-wishlist.csv files respectively.