summaryrefslogtreecommitdiff
path: root/sh/dyafk
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2024-05-05 18:20:27 -0700
committerXiao Pan <gky44px1999@gmail.com>2024-05-05 18:20:27 -0700
commit48660615ae9ded069888fcf2a0185d34b8cf115c (patch)
tree07a35d92b8053a3d7b0f24e3f964c83113fdcaaa /sh/dyafk
parentf8bccdfd21c62e662163d99d2dc04984f719c524 (diff)
dyafk jq seems no need -r
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