summaryrefslogtreecommitdiff
path: root/sh/dyafk
diff options
context:
space:
mode:
Diffstat (limited to 'sh/dyafk')
-rwxr-xr-xsh/dyafk2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/dyafk b/sh/dyafk
index 782a2b8..005b39f 100755
--- a/sh/dyafk
+++ b/sh/dyafk
@@ -5,7 +5,7 @@
while :; do
# credit: MIT licensed https://github.com/DIYgod/RSSHub/blob/master/lib/routes/douyu/room.ts
- if [ "$(curl -s https://www.douyu.com/betard/9640128 | jq -r '.room.show_status')" -eq 1 ]; then
+ if [ "$(curl -s https://www.douyu.com/betard/9640128 | jq '.room.show_status')" -eq 1 ]; then
if ! pidof -q firefox; then
firefox --headless --profile "$HOME/.mozilla/firefox/dyafk" https://www.douyu.com/9640128 &
fi