抖音增加平台
This commit is contained in:
parent
ec725126b7
commit
b5e8a32955
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue