抖音增加平台

This commit is contained in:
jianghanbo 2024-08-20 10:27:30 +08:00
parent ec725126b7
commit b5e8a32955
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}