From b5e8a32955c377529bdb53531d2b926ac5347fdc Mon Sep 17 00:00:00 2001 From: jianghanbo Date: Tue, 20 Aug 2024 10:27:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=96=E9=9F=B3=E5=A2=9E=E5=8A=A0=E5=B9=B3?= =?UTF-8?q?=E5=8F=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/app/server/Douyin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service/app/server/Douyin.php b/service/app/server/Douyin.php index 4457a29e..1be72e48 100644 --- a/service/app/server/Douyin.php +++ b/service/app/server/Douyin.php @@ -19,7 +19,7 @@ class Douyin private $token = ''; private $gate = 'https://life.douyin.com'; public $totalPage = 6; - private $keywords = ['泰国', '普吉岛', '西藏', '港', '澳', 'S', 'G', 's', 'g']; + private $keywords = ['泰国', '普吉岛', '西藏', 'S', 'G', 's', 'g']; public function __construct($os = 3) { @@ -214,7 +214,7 @@ class Douyin } } - if (!$kw_match) { + if ($this->os == 3 && !$kw_match) { printf("skip order: %s %s\n", $item->sn, $item->product_name); continue; }