summaryrefslogtreecommitdiff
path: root/sh/dyafk
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2024-05-05 20:29:19 -0700
committerXiao Pan <gky44px1999@gmail.com>2024-05-05 20:29:19 -0700
commita93280a27120f8b8ff9406fbd7be3fec36c7d5d9 (patch)
tree60ba4a721556a0057a3e89e680c72d950ed43490 /sh/dyafk
parentedb37abc9eda004a960e3e792b5b4be3d403a7e9 (diff)
dyafk init pid var
Diffstat (limited to 'sh/dyafk')
-rwxr-xr-xsh/dyafk1
1 files changed, 1 insertions, 0 deletions
diff --git a/sh/dyafk b/sh/dyafk
index e982e03..f278c25 100755
--- a/sh/dyafk
+++ b/sh/dyafk
@@ -3,6 +3,7 @@
# maybe another way: https://open.douyu.com/source
+pid=
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 '.room.show_status')" -eq 1 ]; then