mirror of
https://github.com/raynormast/fake-firehose.git
synced 2025-03-12 07:09:43 +00:00
Updated logging output
This commit is contained in:
parent
1d7a2faf0b
commit
64c2abf173
1 changed files with 4 additions and 4 deletions
|
@ -21,13 +21,13 @@ do
|
||||||
for tag in $tags
|
for tag in $tags
|
||||||
do
|
do
|
||||||
if [[ $tag != "" ]]; then
|
if [[ $tag != "" ]]; then
|
||||||
echo "Found tag $tag"
|
echo "[INFO] Found tag $tag"
|
||||||
# Create a url to fetch for each tag
|
# Create a url to fetch for each tag
|
||||||
echo "https://$host/api/v1/streaming/hashtag?tag=$tag $host" >> /config/urls.txt
|
echo "https://$host/api/v1/streaming/hashtag?tag=$tag $host" >> /config/urls.txt
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
elif [[ "$line" != *" #"* ]]; then
|
elif [[ "$line" != *" #"* ]]; then
|
||||||
echo "$line didn't have hashtags"
|
echo "[INFO] $line didn't have hashtags"
|
||||||
host=$line
|
host=$line
|
||||||
echo "https://$line/api/v1/streaming/public $line" >> /config/urls.txt
|
echo "https://$line/api/v1/streaming/public $line" >> /config/urls.txt
|
||||||
fi
|
fi
|
||||||
|
@ -54,13 +54,13 @@ do
|
||||||
for tag in $tags
|
for tag in $tags
|
||||||
do
|
do
|
||||||
if [[ $tag != "" ]]; then
|
if [[ $tag != "" ]]; then
|
||||||
echo "Found tag $tag"
|
echo "[INFO] Found tag $tag"
|
||||||
# Create a url to fetch for each tag
|
# Create a url to fetch for each tag
|
||||||
echo "https://$host/api/v1/streaming/hashtag/local?tag=$tag $host" >> /config/urls.txt
|
echo "https://$host/api/v1/streaming/hashtag/local?tag=$tag $host" >> /config/urls.txt
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
elif [[ "$line" != *" #"* ]]; then
|
elif [[ "$line" != *" #"* ]]; then
|
||||||
echo "$line didn't have hashtags"
|
echo "[INFO] $line didn't have hashtags"
|
||||||
host=$line
|
host=$line
|
||||||
echo "https://$line/api/v1/streaming/public/local $line" >> /config/urls.txt
|
echo "https://$line/api/v1/streaming/public/local $line" >> /config/urls.txt
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue