From d75cf7b508faf8fe61907818b1051be3fec04d02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=82=A5=E7=BE=8A?= Date: Fri, 19 May 2023 05:02:58 +0800 Subject: [PATCH] Add files via upload --- PHP/huya.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PHP/huya.php b/PHP/huya.php index 6610d23..ceb6a12 100644 --- a/PHP/huya.php +++ b/PHP/huya.php @@ -101,7 +101,7 @@ $reg = "/\ window.HNF_GLOBAL_INIT = (.*) \<\/script\>/i"; preg_match($reg, $res, $realres); $realdata = json_decode($realres[1], true); -if (in_array(0, $realdata)) { +if (in_array(0, $realdata) or in_array(1, $realdata)) { header('location:' . $mediaurl); exit(); } elseif ($realdata["roomInfo"]["eLiveStatus"] == 2) {