夸克盘
This commit is contained in:
parent
f547f68c27
commit
d5fc272f1f
|
|
@ -351,7 +351,7 @@ public class QuarkApi {
|
|||
String quarkFormat = getPlayFormatQuarkList().get(index);
|
||||
for (Map<String, Object> video : (List<Map<String, Object>>) ((Map<String, Object>) transcoding.get("data")).get("video_list")) {
|
||||
if (video.get("resolution").equals(quarkFormat)) {
|
||||
return video.get("video_info").toString();
|
||||
return (String) ((Map<String, Object>) video.get("video_info")).get("url");
|
||||
}
|
||||
}
|
||||
return (String) ((Map<String, Object>) ((List<Map<String, Object>>) ((Map<String, Object>) transcoding.get("data")).get("video_list")).get(index).get("video_info")).get("url");
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@ public class WoggTest {
|
|||
|
||||
@org.junit.Test
|
||||
public void playerContent() throws Exception {
|
||||
String content = spider.playerContent("quark4K", "c3f6b5fa48234c53909c65a4ff0f1888++14a1d67e74187d2415c81ba04517a63c++38c5e16d71f7++bOf18g/ZQ/P1U6EoNgIjt4vYXxXOeXa+JiKzZdTHFsI=", new ArrayList<>());
|
||||
String content = spider.playerContent("quark4K", "d787d13c003c40bf8149f52ab9e24bd5++1b3bb0d1ab4ef09276e2a1e50cacdd0f++154a891ab53e++h5qQJe8ZhapYxmFUdCX8rRYdnBnJ+kfoSaZJTCDgOtE=", new ArrayList<>());
|
||||
System.out.println("playerContent--" + content);
|
||||
JsonObject map = Json.safeObject(content);
|
||||
Gson gson = new GsonBuilder().setPrettyPrinting().create();
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1 +1 @@
|
|||
f9fe580a44e0fa61b2eac049a5b4d124
|
||||
61c76bc583e6d866eab103ba4e8ec0dc
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"spider": "https://androidcatvodspider.pages.dev/jar/custom_spider.jar;md5;f9fe580a44e0fa61b2eac049a5b4d124",
|
||||
"spider": "https://androidcatvodspider.pages.dev/jar/custom_spider.jar;md5;61c76bc583e6d866eab103ba4e8ec0dc",
|
||||
"lives": [
|
||||
{
|
||||
"name": "直播ipv6",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"spider": "https://androidcatvodspider.pages.dev/jar/custom_spider.jar;md5;f9fe580a44e0fa61b2eac049a5b4d124",
|
||||
"spider": "https://androidcatvodspider.pages.dev/jar/custom_spider.jar;md5;61c76bc583e6d866eab103ba4e8ec0dc",
|
||||
"lives": [
|
||||
{
|
||||
"name": "直播ipv6",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"spider": "https://androidcatvodspider.pages.dev/jar/custom_spider.jar;md5;f9fe580a44e0fa61b2eac049a5b4d124",
|
||||
"spider": "https://androidcatvodspider.pages.dev/jar/custom_spider.jar;md5;61c76bc583e6d866eab103ba4e8ec0dc",
|
||||
"lives": [
|
||||
{
|
||||
"name": "直播ipv6",
|
||||
|
|
|
|||
Loading…
Reference in New Issue