抖音增加平台

This commit is contained in:
jianghanbo 2024-08-16 21:17:08 +08:00
parent 4174bd5890
commit 6fcb9ef860
2 changed files with 2 additions and 2 deletions

View File

@ -334,7 +334,7 @@ class SpiderDy extends Command
case 5:
// echo '==========pages='.$pages;
try {
$dou = new Douyin();
$dou = new Douyin($k);
$list = $dou->get($page, $start, $end, '', $k);
$pages = $dou->totalPage;
} catch (\Exception $e) {

View File

@ -98,7 +98,7 @@ class Orders {
case 3:
case 5:
$dy = new Douyin($order->os);
$it = $dy->get(1, null, null, $order->sn);
$it = $dy->get(1, null, null, $order->sn, $order->os);
if ($it) {
$got = $it[0];