https://api.cenguigui.cn/api/video/duanju/?act=search&name=逆袭
GET
JSON
正常启用
以下参数为接口所需调用信息
| 参数 | 是否必填 | 类型 | 说明 | 示例 |
|---|---|---|---|---|
| act | 是 | 是 | 获取今日更新短剧?act=day | |
| name | 否 | 否 | 搜索内容 |
https://api.cenguigui.cn/api/video/duanju/?act=search&name=逆袭
https://api.cenguigui.cn/api/video/duanju/?act=search&name=逆袭
获取今日更新短剧:https://api.cenguigui.cn/api/video/duanju/?act=day
{
"code": 200,
"msg": "搜索短剧“逆袭”共找到【220】个结果",
"time": "2025-09-10",
"total": 27407,
"num": 220,
"data": [
{
"id": "68be9d97b1ae5",
"name": "灾荒年,我靠系统带哥逆袭(80集)",
"label": 0,
"addtime": "2025-09-08",
"cover": "https://t12.baidu.com/it/u=3859229605,220847762&fm=30&app=106&f=JPEG",
"url": "https://pan.quark.cn/s/2b21ee26691b",
"episodes": 80,
"state": 0,
"incremental_id": 27262
},
{
"id": "68bd20f010608",
"name": "重生校花追不停!我靠系统逆袭(80集)葛子杨&彭娜莎",
"label": 0,
"addtime": "2025-09-07",
"cover": "https://t12.baidu.com/it/u=3859229605,220847762&fm=30&app=106&f=JPEG",
"url": "https://pan.quark.cn/s/654d08fc5611",
"episodes": 80,
"state": 0,
"incremental_id": 27230
}
]
}
// JavaScript调用示例
fetch("https://api.cenguigui.cn/api/video/duanju/?act=search&name=逆袭", {
method: "GET",
headers: {
"Content-Type": "application/json"
}
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error("Error:", error));
# Python调用示例
import requests
url = "https://api.cenguigui.cn/api/video/duanju/?act=search&name=逆袭"
response = requests.get(url)
print(response.json())
// Java调用示例
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.time.Duration;
public class ApiExample {
public static void main(String[] args) throws Exception {
HttpClient client = HttpClient.newBuilder()
.version(HttpClient.Version.HTTP_2)
.connectTimeout(Duration.ofSeconds(10))
.build();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.cenguigui.cn/api/video/duanju/?act=search&name=逆袭"))
.build();
client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
.thenApply(HttpResponse::body)
.thenAccept(System.out::println)
.join();
}
}
<?php
// PHP调用示例
$url = "https://api.cenguigui.cn/api/video/duanju/?act=search&name=逆袭";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$response = curl_exec($ch);
curl_close($ch);
$result = json_decode($response, true);
print_r($result);
?>
// C#调用示例
using System;
using System.Net.Http;
using System.Threading.Tasks;
class Program
{
static async Task Main()
{
using var client = new HttpClient();
var url = "https://api.cenguigui.cn/api/video/duanju/?act=search&name=逆袭";
var response = await client.GetAsync(url);
var result = await response.Content.ReadAsStringAsync();
Console.WriteLine(result);
}
}
// 响应结果将显示在这里