Script to sync IMDb ratings and watchlist to Trakt.tv.
docker-compose.yml
version: "3"
services:
imdb_trakt_sync:
restart: always
image: ghcr.io/josh/imdb-trakt-sync
environment:
- IMDB_UBID_MAIN=***
- IMDB_AT_MAIN=***
- IMDB_RATINGS_ID=ur***
- IMDB_WATCHLIST_ID=ls***
- TRAKT_CLIENT_ID=
- TRAKT_ACCESS_TOKEN=
- TICKERD_INTERVAL=1h
Log into imdb.com and use the web inspector to extract the following cookies:
IMDB_UBID_MAIN
:ubid-main
IMDB_AT_MAIN
:at-main
Click "Watchlist" and see the URL bar for https://www.imdb.com/user/ur***/watchlist
, then Edit for https://www.imdb.com/list/ls**/edit
IMDB_RATINGS_ID
: The ID that starts withur
IMDB_WATCHLIST_ID
: The ID that starts withls
Create a Trakt API App:
TRAKT_CLIENT_ID
: Trakt Client IDTRAKT_ACCESS_TOKEN
: "Authorize" the OAuth token to get a personal access token
Set a sync interval:
TICKERD_INTERVAL
:1h