抖音增加平台

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: case 5:
// echo '==========pages='.$pages; // echo '==========pages='.$pages;
try { try {
$dou = new Douyin(); $dou = new Douyin($k);
$list = $dou->get($page, $start, $end, '', $k); $list = $dou->get($page, $start, $end, '', $k);
$pages = $dou->totalPage; $pages = $dou->totalPage;
} catch (\Exception $e) { } catch (\Exception $e) {

View File

@ -98,7 +98,7 @@ class Orders {
case 3: case 3:
case 5: case 5:
$dy = new Douyin($order->os); $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) { if ($it) {
$got = $it[0]; $got = $it[0];