forked from cecobask/imdb-trakt-sync
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
66 lines (66 loc) · 3.8 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
IMDB:
# Authentication method to be used for IMDb
# The value must be one of the following:
# credentials - dependent fields [IMDB_EMAIL] [IMDB_PASSWORD]
# cookies - dependent fields [IMDB_COOKIEATMAIN] [IMDB_COOKIEUBIDMAIN]
# none - no dependent fields
AUTH: credentials
# IMDb account email address
EMAIL: [email protected]
# IMDb account password
PASSWORD: password123
# The cookies can be used as a fallback if captcha is preventing the authentication flow
# Log into your IMDb account from a web browser, inspect the cookies and retrieve the value of cookie:
# name: at-main | domain: .imdb.com
COOKIEATMAIN: zAta|RHiA67JIrBDPaswIym3GyrTlEuQH-u9yrKP3BUNCHgVyE4oNtUzBYVKlhjjzBiM_Z-GSVnH9rKW3Hf7LdbejovoF6SI4ZmgJcTIUXoA4NVcH1Qahwm0KYCyz95o1gsgby-uQwdU6CoS6MFTnjMkLe1puNiv4uFkvo8mOQulJJeutzYedxiUd0ns9w1X_WeVXPTZWjwisPZMw3EOR6-q9xR4kCEWRW7CmWxU1AEDQbT8ns_AJJD34w1nIQUkuLgBQrvJI_pY
# The cookies can be used as a fallback if captcha is preventing the authentication flow
# Log into your IMDb account from a web browser, inspect the cookies and retrieve the value of cookie:
# name: ubid-main | domain: .imdb.com
COOKIEUBIDMAIN: 301-0710501-5367639
# Array of IMDb lists that you would like synced to Trakt
# If this array is empty, all IMDb lists will be synced to Trakt
# Keep in mind the maximum number of lists you can have in Trakt: https://twitter.com/trakt/status/1536751362943332352
# In order to get the ID of an IMDb list, open it from a browser - the ID is in the URL with format ls#########
LISTS:
- ls000000000
- ls111111111
# Print tracing logs related to browser activities
# Can be useful for debugging purposes
TRACE: false
# Whether to run the browser in headless mode or not
# For local debugging you can set this value to false
# If running via GitHub Actions or other CI the value will always be true
HEADLESS: true
SYNC:
# Sync mode to be used when running the application
# The value must be one of the following:
# full - add Trakt items that do not exist, delete Trakt items that do not exist on IMDb, update Trakt items by treating IMDb as the source of truth
# add-only - add Trakt items that do not exist, but do not delete anything
# dry-run - identify what Trakt items would be added / deleted / updated
MODE: dry-run
# Whether to sync history or not. If set to true, history will be synced
# When IMDB_AUTH is none, history will be ignored
HISTORY: false
# Whether to sync ratings or not. If set to true, ratings will be synced
# When IMDB_AUTH is none, ratings will be ignored
RATINGS: false
# Whether to watchlist or not. If set to true, watchlist will be synced
# When IMDB_AUTH is none, watchlist will be ignored
WATCHLIST: false
# Maximum duration to run the syncer
# Users with large IMDb/Trakt libraries might have to increase the timeout value accordingly
# Valid time units are: ns, us (or µs), ms, s, m, h
TIMEOUT: 10m
TRAKT:
# Trakt app client ID
# You need to replace this value with your own, the default value is for illustrative purposes only
CLIENTID: 828832482dea6fffa4453f849fe873de8be54791b9acc01f6923098d0a62972d
# Trakt app client secret
# You need to replace this value with your own, the default value is for illustrative purposes only
CLIENTSECRET: bdf9bab88c17f3710a6394607e96cd3a21dee6e5ea0e0236e9ed06e425ed8b6f
# Trakt account email address (not to be confused with username)
# You need to replace this value with your own, the default value is for illustrative purposes only
EMAIL: [email protected]
# Trakt account password
# You need to replace this value with your own, the default value is for illustrative purposes only
PASSWORD: password123