Updated logging output

This commit is contained in:
Raynor 2022-12-26 17:20:07 +00:00
parent 1d7a2faf0b
commit 64c2abf173
1 changed files with 4 additions and 4 deletions

View File

@ -21,13 +21,13 @@ do
for tag in $tags
do
if [[ $tag != "" ]]; then
echo "Found tag $tag"
echo "[INFO] Found tag $tag"
# Create a url to fetch for each tag
echo "https://$host/api/v1/streaming/hashtag?tag=$tag $host" >> /config/urls.txt
fi
done
elif [[ "$line" != *" #"* ]]; then
echo "$line didn't have hashtags"
echo "[INFO] $line didn't have hashtags"
host=$line
echo "https://$line/api/v1/streaming/public $line" >> /config/urls.txt
fi
@ -54,13 +54,13 @@ do
for tag in $tags
do
if [[ $tag != "" ]]; then
echo "Found tag $tag"
echo "[INFO] Found tag $tag"
# Create a url to fetch for each tag
echo "https://$host/api/v1/streaming/hashtag/local?tag=$tag $host" >> /config/urls.txt
fi
done
elif [[ "$line" != *" #"* ]]; then
echo "$line didn't have hashtags"
echo "[INFO] $line didn't have hashtags"
host=$line
echo "https://$line/api/v1/streaming/public/local $line" >> /config/urls.txt
fi