视频去水印
<h1>抖音总榜分类</h1>
<p>POSThttp://127.0.0.1:8096/web.php/aiUtils/getVideoSource</p>
<p>调试</p>
<p>调试</p>
<h3>请求参数</h3>
<p>Authorization: Bearer Token</p>
<p>Body 参数application/json</p>
<p>生成代码</p>
<p>json格式
{'<a href="https://v.kuaishou.com/xilezo">https://v.kuaishou.com/xilezo</a> 物理降火第一人', '<a href="https://www.douyin.com/video/7341671146565274889">https://www.douyin.com/video/7341671146565274889</a>'}</p>
<p>示例</p>
<p>复制</p>
<pre><code>[&quot;https://v.kuaishou.com/xilezo 物理降火第一人&quot;,&quot;https://www.douyin.com/video/7341671146565274889&quot;]</code></pre>
<h3>返回响应</h3>
<p>成功(0)</p>
<p>HTTP 状态码: 0</p>
<p>内容格式: JSON</p>
<p>数据结构</p>
<p>生成代码</p>
<p>errno</p>
<p>integer </p>
<p>必需</p>
<p>message</p>
<p>string </p>
<p>必需</p>
<p>data</p>
<p>失败: 目前返回情况
1,
{"errno":0,"message":"","data":{"data":[]}}
data数据为空,原因是请求提交成功,返回没有视频信息,可能是url不存在。
2,
{"errno":1,"message":"解析链接不存在!"}
errno返回1,解析链接不存在,这个代表传的json数组格式不对</p>
<p>示例</p>
<p>复制</p>
<pre><code>{
&quot;errno&quot;: 0,
&quot;message&quot;: &quot;string&quot;,
&quot;data&quot;: {
&quot;page&quot;: {
&quot;page&quot;: 0,
&quot;page_size&quot;: 0,
&quot;total&quot;: 0
},
&quot;objs&quot;: [
{
&quot;rank&quot;: 0,
&quot;sentence&quot;: &quot;string&quot;,
&quot;sentence_id&quot;: 0,
&quot;create_at&quot;: 0,
&quot;hot_score&quot;: 0,
&quot;video_count&quot;: 0,
&quot;sentence_tag&quot;: 0,
&quot;city_code&quot;: 0,
&quot;trends&quot;: [
null
],
&quot;index&quot;: 0,
&quot;SnapshotSubType&quot;: &quot;string&quot;,
&quot;city_name&quot;: &quot;string&quot;,
&quot;sentence_tag_name&quot;: &quot;string&quot;,
&quot;SnapshotType&quot;: 0,
&quot;SnapshotID&quot;: 0,
&quot;first_item_cover_url&quot;: &quot;string&quot;,
&quot;is_favorite&quot;: true,
&quot;item_list&quot;: null,
&quot;item_list_i64&quot;: null,
&quot;recommend_type&quot;: null
}
],
&quot;last_update_time&quot;: &quot;string&quot;
}
}</code></pre>