低端影视 修复

This commit is contained in:
lushunming 2024-11-28 10:32:04 +08:00
parent 678cf2ff6a
commit 9f899b8ff4
8 changed files with 11 additions and 8 deletions

View File

@ -271,6 +271,9 @@ public class Ddrk extends Cloud {
try {
// 视频详情url
String url = ids.get(0);
if (!url.startsWith("http")) {
url = siteUrl +"/"+ url + "/";
}
Document doc = Jsoup.parse(OkHttp.string(url, getHeaders(url)));
JSONObject result = new JSONObject();
JSONObject vodList = new JSONObject();

View File

@ -56,7 +56,7 @@ public class DdrkTest {
@org.junit.Test
public void categoryContent() throws Exception {
String content = spider.categoryContent("https://ddys.mov/drama/western-drama", "2", true, null);
String content = spider.categoryContent("https://ddys.pro/category/movie/western-movie/", "2", true, null);
JsonObject map = Json.safeObject(content);
Gson gson = new GsonBuilder().setPrettyPrinting().create();
System.out.println("categoryContent--" + gson.toJson(map));
@ -65,8 +65,8 @@ public class DdrkTest {
@org.junit.Test
public void detailContent() throws Exception {
String content = spider.detailContent(Arrays.asList("https://ddys.pro/dahmer-monster/"));
// String content = spider.detailContent(Arrays.asList("https://ddys.pro/the-shadow-strays/"));
String content = spider.detailContent(Arrays.asList("dahmer-monster"));
JsonObject map = Json.safeObject(content);
Gson gson = new GsonBuilder().setPrettyPrinting().create();
System.out.println("detailContent--" + content);

Binary file not shown.

View File

@ -1 +1 @@
67789d78016a76886571a4147848b6dc
22dc36b8c8afa1f2cc6b2f4ee72f6e62

View File

@ -1,5 +1,5 @@
{
"spider": "https://androidcatvodspider.pages.dev/jar/custom_spider.jar;md5;67789d78016a76886571a4147848b6dc",
"spider": "https://androidcatvodspider.pages.dev/jar/custom_spider.jar;md5;22dc36b8c8afa1f2cc6b2f4ee72f6e62",
"lives": [
{
"name": "直播",

View File

@ -1,5 +1,5 @@
{
"spider": "https://androidcatvodspider.pages.dev/jar/custom_spider.jar;md5;67789d78016a76886571a4147848b6dc",
"spider": "https://androidcatvodspider.pages.dev/jar/custom_spider.jar;md5;22dc36b8c8afa1f2cc6b2f4ee72f6e62",
"lives": [
{
"name": "直播ipv6",

View File

@ -1,5 +1,5 @@
{
"spider": "https://androidcatvodspider.pages.dev/jar/custom_spider.jar;md5;67789d78016a76886571a4147848b6dc",
"spider": "https://androidcatvodspider.pages.dev/jar/custom_spider.jar;md5;22dc36b8c8afa1f2cc6b2f4ee72f6e62",
"lives": [
{
"name": "直播ipv6",

View File

@ -1,5 +1,5 @@
{
"spider": "https://androidcatvodspider.pages.dev/jar/custom_spider.jar;md5;67789d78016a76886571a4147848b6dc",
"spider": "https://androidcatvodspider.pages.dev/jar/custom_spider.jar;md5;22dc36b8c8afa1f2cc6b2f4ee72f6e62",
"lives": [
{
"name": "直播",