ucToken
This commit is contained in:
parent
a426ce7868
commit
a7df1822f0
|
|
@ -225,6 +225,7 @@ public class UCTokenHandler {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void download(String token, String saveFileId) throws Exception {
|
public void download(String token, String saveFileId) throws Exception {
|
||||||
|
SpiderDebug.log("开始下载:" + saveFileId + ";token:" + token);
|
||||||
String pathname = "/file";
|
String pathname = "/file";
|
||||||
String timestamp = Long.toString(System.currentTimeMillis() / 1000);
|
String timestamp = Long.toString(System.currentTimeMillis() / 1000);
|
||||||
String deviceID = StringUtils.isAllBlank((String) addition.get("DeviceID")) ? (String) addition.get("DeviceID") : generateDeviceID(timestamp);
|
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("resolution", "low,normal,high,super,2k,4k");
|
||||||
params.put("support", "dolby_vision");
|
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());
|
SpiderDebug.log("uc TV 下载文件内容:" + okResult1.getBody());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -1 +1 @@
|
||||||
c43b84fbcffcaa6a1b0bea6134088001
|
5aa6527331d90b59ad20a2d055a23226
|
||||||
|
|
|
||||||
|
|
@ -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": [
|
"lives": [
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -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": [
|
"lives": [
|
||||||
{
|
{
|
||||||
"name": "直播ipv6",
|
"name": "直播ipv6",
|
||||||
|
|
|
||||||
|
|
@ -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": [
|
"lives": [
|
||||||
{
|
{
|
||||||
"name": "直播ipv6",
|
"name": "直播ipv6",
|
||||||
|
|
|
||||||
|
|
@ -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": [
|
"lives": [
|
||||||
{
|
{
|
||||||
"name": "直播",
|
"name": "直播",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue