From 48660615ae9ded069888fcf2a0185d34b8cf115c Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Sun, 5 May 2024 18:20:27 -0700 Subject: dyafk jq seems no need -r --- sh/dyafk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sh') 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 -- cgit v1.2.3-70-g09d2