低端影视 修复
This commit is contained in:
parent
678cf2ff6a
commit
9f899b8ff4
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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.
|
|
@ -1 +1 @@
|
|||
67789d78016a76886571a4147848b6dc
|
||||
22dc36b8c8afa1f2cc6b2f4ee72f6e62
|
||||
|
|
|
|||
|
|
@ -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": "直播",
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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": "直播",
|
||||
|
|
|
|||
Loading…
Reference in New Issue