-
Notifications
You must be signed in to change notification settings - Fork 31
/
accumulator.yml
29 lines (29 loc) · 1.76 KB
/
accumulator.yml
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
tag: accumulator
datastore:
- config:
hostname: !ENV ${MYSQL_HOST} # localhost or the IP of your DB
username: !ENV ${MYSQL_USERNAME} # DB username
password: !ENV ${MYSQL_PASSWORD} # DB password
db_name: !ENV ${MYSQL_DB_NAME} # The name of your DB/schema
port: 3306
type: mysql
youtube:
- config:
credentials:
- client_id: !ENV ${CLIENT_ID_ACC} # YouTube client ID (see Readme)
client_secret: !ENV ${CLIENT_SECRET_ACC} # YouTube client secret (see Readme)
api_version: v3
read_only_scope: https://www.googleapis.com/auth/youtube.force-ssl
username: !ENV ${USERNAME_ACC} # Can be omitted (automatically derived). Useful when you are using a different api key for the accumulator
comment_search_term: !ENV ${SEARCH_TERM_ACC} # Can be omitted (username will be used instead which sometimes doesn't work). It is used to search for your comment data under a video
sleep_time: !ENV ${SLEEP_TIME_ACC} # Number of seconds to wait until checking for new videos again. Increase this if you are getting api limit errors
num_comments_to_check: !ENV ${NUM_COMMENTS_ACC} # Latest N number of comments to check and update their metadata
load_keys_from_cloud: true # cloudstore config is required
keys_path: keys # if true, cloudstore config is required. Loads the YT keys from the specified dropbox folder
type: normal # normal, simulated
cloudstore: # Optional
- config:
api_key: !ENV ${DROPBOX_API_KEY} # Dropbox api key, see Readme
logs_folder_path: /yt-commenter/logs # The Dropbox path where the log files are going to be being backed up
keys_folder_path: /yt-commenter/keys # The Dropbox path where the keys are going to be copied locally from
type: dropbox