夸克盘
This commit is contained in:
parent
d5fc272f1f
commit
140231fe69
|
|
@ -2,6 +2,7 @@ package com.github.catvod.api;
|
||||||
|
|
||||||
import android.text.TextUtils;
|
import android.text.TextUtils;
|
||||||
|
|
||||||
|
import com.github.catvod.bean.Result;
|
||||||
import com.github.catvod.bean.Vod;
|
import com.github.catvod.bean.Vod;
|
||||||
import com.github.catvod.bean.ali.Cache;
|
import com.github.catvod.bean.ali.Cache;
|
||||||
import com.github.catvod.bean.quark.Item;
|
import com.github.catvod.bean.quark.Item;
|
||||||
|
|
@ -115,7 +116,7 @@ public class QuarkApi {
|
||||||
Map<String, String> header = getHeaders();
|
Map<String, String> header = getHeaders();
|
||||||
header.remove("Host");
|
header.remove("Host");
|
||||||
header.remove("Content-Type");
|
header.remove("Content-Type");
|
||||||
return ProxyVideo.buildCommonProxyUrl(playUrl, header);
|
return Result.get().url(ProxyVideo.buildCommonProxyUrl(playUrl, header)).octet().header(header).string();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,8 @@ public class Quark extends Spider {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String playerContent(String flag, String id, List<String> vipFlags) throws Exception {
|
public String playerContent(String flag, String id, List<String> vipFlags) throws Exception {
|
||||||
return Result.get().url(QuarkApi.get().playerContent(id.split("\\+\\+"), flag)).string();
|
return QuarkApi.get().playerContent(id.split("\\+\\+"), flag);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -1 +1 @@
|
||||||
61c76bc583e6d866eab103ba4e8ec0dc
|
c9bc6ab1732e07ad236c946d3d1de670
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"spider": "https://androidcatvodspider.pages.dev/jar/custom_spider.jar;md5;61c76bc583e6d866eab103ba4e8ec0dc",
|
"spider": "https://androidcatvodspider.pages.dev/jar/custom_spider.jar;md5;c9bc6ab1732e07ad236c946d3d1de670",
|
||||||
"lives": [
|
"lives": [
|
||||||
{
|
{
|
||||||
"name": "直播ipv6",
|
"name": "直播ipv6",
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"spider": "https://androidcatvodspider.pages.dev/jar/custom_spider.jar;md5;61c76bc583e6d866eab103ba4e8ec0dc",
|
"spider": "https://androidcatvodspider.pages.dev/jar/custom_spider.jar;md5;c9bc6ab1732e07ad236c946d3d1de670",
|
||||||
"lives": [
|
"lives": [
|
||||||
{
|
{
|
||||||
"name": "直播ipv6",
|
"name": "直播ipv6",
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"spider": "https://androidcatvodspider.pages.dev/jar/custom_spider.jar;md5;61c76bc583e6d866eab103ba4e8ec0dc",
|
"spider": "https://androidcatvodspider.pages.dev/jar/custom_spider.jar;md5;c9bc6ab1732e07ad236c946d3d1de670",
|
||||||
"lives": [
|
"lives": [
|
||||||
{
|
{
|
||||||
"name": "直播ipv6",
|
"name": "直播ipv6",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue