diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2024-05-05 18:20:27 -0700 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2024-05-05 18:20:27 -0700 |
commit | 48660615ae9ded069888fcf2a0185d34b8cf115c (patch) | |
tree | 07a35d92b8053a3d7b0f24e3f964c83113fdcaaa /sh/dyafk | |
parent | f8bccdfd21c62e662163d99d2dc04984f719c524 (diff) |
dyafk jq seems no need -r
Diffstat (limited to 'sh/dyafk')
-rwxr-xr-x | sh/dyafk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |