接口地址
http://api.guiguiya.com/api/video/duanju?act=search&name=
📝 接口描述
全网短剧接口/夸克网盘/基本上所有的都能搜索到
📋 请求示例
GET http://api.guiguiya.com/api/video/duanju?act=search&name=# 带参数请求示例
http://api.guiguiya.com/api/video/duanju?act=search&name=?param1=value1¶m2=value2
📤 返回示例
{
"code": 200,
"msg": "success",
"data": {}
}
🔧 JavaScript (Fetch)
fetch('http://api.guiguiya.com/api/video/duanju?act=search&name=', {
method: 'GET',
headers: { 'Content-Type': 'application/json' }
})
.then(res => res.json())
.then(data => console.log(data))
.catch(err => console.error(err));
🐘 PHP (cURL)
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'http://api.guiguiya.com/api/video/duanju?act=search&name=');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'GET');
$response = curl_exec($ch);
curl_close($ch);
echo $response;
?>
📡 Python (requests)
import requests
url = 'http://api.guiguiya.com/api/video/duanju?act=search&name='
response = requests.request('GET', url)
print(response.json())