低端影视修复
This commit is contained in:
parent
cdb2ed4561
commit
470c38cea4
|
|
@ -415,8 +415,12 @@ public class Ddrk extends Cloud {
|
|||
* @return
|
||||
*/
|
||||
@Override
|
||||
public String playerContent(String flag, String id, List<String> vipFlags) {
|
||||
return Result.get().url(ProxyVideo.buildCommonProxyUrl(id, Util.webHeaders(siteUrl))).string();
|
||||
public String playerContent(String flag, String id, List<String> vipFlags) throws Exception {
|
||||
if(flag.contains("quark")){
|
||||
return super.playerContent(flag, id, vipFlags);
|
||||
}else{
|
||||
return Result.get().url(ProxyVideo.buildCommonProxyUrl(id, Util.webHeaders(siteUrl))).string();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -72,6 +72,7 @@ public class DdrkTest {
|
|||
String content = spider.detailContent(Arrays.asList("https://ddys.pro/dahmer-monster/"));
|
||||
JsonObject map = Json.safeObject(content);
|
||||
Gson gson = new GsonBuilder().setPrettyPrinting().create();
|
||||
System.out.println("detailContent--" + content);
|
||||
System.out.println("detailContent--" + gson.toJson(map));
|
||||
Assert.assertFalse(map.getAsJsonArray("list").isEmpty());
|
||||
}
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1 +1 @@
|
|||
3414fbf0c21f59f02b3cf03a7473cabb
|
||||
8669c4e59677fb468d72b104c792c67d
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"spider": "https://androidcatvodspider.pages.dev/jar/custom_spider.jar;md5;3414fbf0c21f59f02b3cf03a7473cabb",
|
||||
"spider": "https://androidcatvodspider.pages.dev/jar/custom_spider.jar;md5;8669c4e59677fb468d72b104c792c67d",
|
||||
"lives": [
|
||||
{
|
||||
"name": "直播ipv6",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"spider": "https://androidcatvodspider.pages.dev/jar/custom_spider.jar;md5;3414fbf0c21f59f02b3cf03a7473cabb",
|
||||
"spider": "https://androidcatvodspider.pages.dev/jar/custom_spider.jar;md5;8669c4e59677fb468d72b104c792c67d",
|
||||
"lives": [
|
||||
{
|
||||
"name": "直播ipv6",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"spider": "https://androidcatvodspider.pages.dev/jar/custom_spider.jar;md5;3414fbf0c21f59f02b3cf03a7473cabb",
|
||||
"spider": "https://androidcatvodspider.pages.dev/jar/custom_spider.jar;md5;8669c4e59677fb468d72b104c792c67d",
|
||||
"lives": [
|
||||
{
|
||||
"name": "直播ipv6",
|
||||
|
|
|
|||
Loading…
Reference in New Issue