Update 'hash.sh'
This commit is contained in:
parent
edf7bd6ca0
commit
c063ac7d2e
2
hash.sh
2
hash.sh
@ -1,10 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#############################
|
#############################
|
||||||
STATS_MESSAGE="Top Hash Tags on the Fediverse right now:"
|
STATS_MESSAGE="Top Hash Tags on the Fediverse right now:"
|
||||||
SLEEP_TIME="21600"
|
|
||||||
BOT_ACCOUNT="hashbot@poster.place"
|
BOT_ACCOUNT="hashbot@poster.place"
|
||||||
############################
|
############################
|
||||||
#cd /root/docker/blockbot
|
|
||||||
|
|
||||||
getTags() {
|
getTags() {
|
||||||
DATA=$(curl https://fedi.buzz/ | grep -i tags | cut -d '/' -f5 | sed 's/">//' | sort -u | sed 's/^/#/')
|
DATA=$(curl https://fedi.buzz/ | grep -i tags | cut -d '/' -f5 | sed 's/">//' | sort -u | sed 's/^/#/')
|
||||||
|
Loading…
Reference in New Issue
Block a user