[PHP] 纯文本查看 复制代码<?php
if ($_REQUEST['url']) {
$ids = explode('/', parse_url(restoreUrl(matchUrl($_REQUEST['url'])))['path'])[3];
$videoinfo = get_curl('https://www.iesdouyin.com/web/api/v2/aweme/iteminfo/?item_ids=' . $ids)->item_list[0];
$video = geturl(str_ireplace('playwm', 'play', $videoinfo->video->play_addr->url_list[0]));
$code = $videoinfo->status_code;
if ($code == 0) {
$pic = $videoinfo->video->cover->url_list[0];
$desc = $videoinfo->desc;
$data['code'] = 'success';
$data['title'] = $desc;
$data['pic'] = $pic;
$data['video'] = json_decode($video)->longUrl;
本文地址:http://lianchengexpo.xrbh.cn/quote/12776.html 迅博思语资讯 http://lianchengexpo.xrbh.cn/ , 查看更多