feat(youtube): make check_shorts users configurable
This commit is contained in:
parent
3559b1c113
commit
1e73c34288
2 changed files with 2 additions and 7 deletions
|
@ -1 +1,2 @@
|
||||||
TUBE_TOKEN_NAME_IN_STORE="tube.lan"
|
TUBE_TOKEN_NAME_IN_STORE="tube.lan"
|
||||||
|
TUBE_DEFAULT_USERS=("a" "b")
|
|
@ -90,13 +90,7 @@ yts() {
|
||||||
#
|
#
|
||||||
|
|
||||||
check_shorts() {
|
check_shorts() {
|
||||||
# List of channels to check (you can hardcode them or pass them as arguments)
|
channels=$TUBE_DEFAULT_USERS
|
||||||
channels=(
|
|
||||||
"DarkBlondii"
|
|
||||||
"littlesiha"
|
|
||||||
"lenaindica"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Loop through each channel and call yts
|
# Loop through each channel and call yts
|
||||||
for channel in "${channels[@]}"; do
|
for channel in "${channels[@]}"; do
|
||||||
echo "Checking shorts for channel: $channel"
|
echo "Checking shorts for channel: $channel"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue