This commit is contained in:
lushunming 2025-03-14 13:55:22 +08:00
parent a426ce7868
commit a7df1822f0
7 changed files with 7 additions and 6 deletions

View File

@ -225,6 +225,7 @@ public class UCTokenHandler {
}
public void download(String token, String saveFileId) throws Exception {
SpiderDebug.log("开始下载:" + saveFileId + ";token:" + token);
String pathname = "/file";
String timestamp = Long.toString(System.currentTimeMillis() / 1000);
String deviceID = StringUtils.isAllBlank((String) addition.get("DeviceID")) ? (String) addition.get("DeviceID") : generateDeviceID(timestamp);
@ -259,7 +260,7 @@ public class UCTokenHandler {
params.put("resolution", "low,normal,high,super,2k,4k");
params.put("support", "dolby_vision");
OkResult okResult1 = OkHttp.post(API_URL + pathname, params, headers);
OkResult okResult1 = OkHttp.get(API_URL + pathname, params, headers);
SpiderDebug.log("uc TV 下载文件内容:" + okResult1.getBody());
}

Binary file not shown.

View File

@ -1 +1 @@
c43b84fbcffcaa6a1b0bea6134088001
5aa6527331d90b59ad20a2d055a23226

View File

@ -1,5 +1,5 @@
{
"spider": "https://androidcatvodspider.netlify.app/jar/custom_spider.jar;md5;c43b84fbcffcaa6a1b0bea6134088001",
"spider": "https://androidcatvodspider.netlify.app/jar/custom_spider.jar;md5;5aa6527331d90b59ad20a2d055a23226",
"lives": [
{

View File

@ -1,5 +1,5 @@
{
"spider": "https://androidcatvodspider.netlify.app/jar/custom_spider.jar;md5;c43b84fbcffcaa6a1b0bea6134088001",
"spider": "https://androidcatvodspider.netlify.app/jar/custom_spider.jar;md5;5aa6527331d90b59ad20a2d055a23226",
"lives": [
{
"name": "直播ipv6",

View File

@ -1,5 +1,5 @@
{
"spider": "https://androidcatvodspider.netlify.app/jar/custom_spider.jar;md5;c43b84fbcffcaa6a1b0bea6134088001",
"spider": "https://androidcatvodspider.netlify.app/jar/custom_spider.jar;md5;5aa6527331d90b59ad20a2d055a23226",
"lives": [
{
"name": "直播ipv6",

View File

@ -1,5 +1,5 @@
{
"spider": "https://androidcatvodspider.netlify.app/jar/custom_spider.jar;md5;c43b84fbcffcaa6a1b0bea6134088001",
"spider": "https://androidcatvodspider.netlify.app/jar/custom_spider.jar;md5;5aa6527331d90b59ad20a2d055a23226",
"lives": [
{
"name": "直播",