-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Small updates in Readme and added comments in the configs. All bugs a…
…re probably fixed - ready for minor release
- Loading branch information
Showing
4 changed files
with
48 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
tag: accumulator | ||
datastore: | ||
- config: | ||
hostname: !ENV ${MYSQL_HOST} | ||
username: !ENV ${MYSQL_USERNAME} | ||
password: !ENV ${MYSQL_PASSWORD} | ||
db_name: !ENV ${MYSQL_DB_NAME} | ||
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: | ||
client_id: !ENV ${CLIENT_ID_ACC} | ||
client_secret: !ENV ${CLIENT_SECRET_ACC} | ||
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) | ||
comment_search_term: !ENV ${SEARCH_TERM_ACC} # Can be omitted (username will be used instead - sometimes doesn't work) | ||
sleep_time: !ENV ${SLEEP_TIME_ACC} | ||
num_comments_to_check: !ENV ${NUM_COMMENTS_ACC} | ||
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 | ||
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} | ||
logs_folder_path: /yt-commenter/logs | ||
keys_folder_path: /yt-commenter/keys | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
tag: generic | ||
datastore: | ||
- config: | ||
hostname: !ENV ${MYSQL_HOST} | ||
username: !ENV ${MYSQL_USERNAME} | ||
password: !ENV ${MYSQL_PASSWORD} | ||
db_name: !ENV ${MYSQL_DB_NAME} | ||
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: | ||
client_id: !ENV ${CLIENT_ID_GEN} | ||
client_secret: !ENV ${CLIENT_SECRET_GEN} | ||
client_id: !ENV ${CLIENT_ID_GEN} # YouTube client ID (see Readme) | ||
client_secret: !ENV ${CLIENT_SECRET_GEN} # YouTube client secret (see Readme) | ||
api_version: v3 | ||
read_only_scope: https://www.googleapis.com/auth/youtube.force-ssl | ||
username: !ENV ${USERNAME_GEN} # Can be omitted (automatically derived) | ||
load_keys_from_cloud: true # cloudstore config is required | ||
keys_path: keys | ||
type: normal # normal, simulated | ||
username: !ENV ${USERNAME_GEN} # Can be omitted (automatically derived). Useful when you are using a different api key for the accumulator | ||
load_keys_from_cloud: true # if true, cloudstore config is required. Loads the YT keys from the specified dropbox folder | ||
keys_path: keys # The local path of the YT keys | ||
type: normal # options: normal, simulated (simulated is just for testing) | ||
cloudstore: # Optional | ||
- config: | ||
api_key: !ENV ${DROPBOX_API_KEY} | ||
logs_folder_path: /yt-commenter/logs | ||
keys_folder_path: /yt-commenter/keys | ||
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 |