多个网盘
This commit is contained in:
parent
342840070d
commit
5551ed5d3d
|
|
@ -40,17 +40,7 @@ public class DuoDuo extends Cloud {
|
|||
|
||||
@Override
|
||||
public void init(Context context, String extend) throws Exception {
|
||||
JsonObject ext = Json.safeObject(extend);
|
||||
JsonArray siteList = ext.get("site").getAsJsonArray();
|
||||
if (!siteList.isEmpty()) {
|
||||
for (JsonElement jsonElement : siteList) {
|
||||
String html = OkHttp.string(jsonElement.getAsString());
|
||||
if (html.contains("电影")) {
|
||||
siteUrl = jsonElement.getAsString();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
// JsonObject ext = Json.safeObject(extend);
|
||||
super.init(context, extend);
|
||||
}
|
||||
|
||||
|
|
@ -76,7 +66,7 @@ public class DuoDuo extends Cloud {
|
|||
urlParams[Integer.parseInt(key)] = extend.get(key);
|
||||
}
|
||||
}
|
||||
Document doc = Jsoup.parse(OkHttp.string(String.format("%s/index.php/vodshow/%s.html", siteUrl, String.join("-", urlParams)), getHeader()));
|
||||
Document doc = Jsoup.parse(OkHttp.string(String.format("%s/index.php/vod/show/id/%s/page/%s.html", siteUrl, tid, pg), getHeader()));
|
||||
int page = Integer.parseInt(pg), limit = 72, total = 0;
|
||||
Matcher matcher = regexPageTotal.matcher(doc.html());
|
||||
if (matcher.find()) total = Integer.parseInt(matcher.group(1));
|
||||
|
|
@ -148,7 +138,7 @@ public class DuoDuo extends Cloud {
|
|||
|
||||
|
||||
private String searchContent(String key, String pg) {
|
||||
String searchURL = siteUrl + String.format("/index.php/vodsearch/%s----------%s---.html", URLEncoder.encode(key), pg);
|
||||
String searchURL = siteUrl + String.format("/index.php/vod/search/page/%s/wd/%s.html", pg,URLEncoder.encode(key));
|
||||
String html = OkHttp.string(searchURL, getHeader());
|
||||
Elements items = Jsoup.parse(html).select(".module-search-item");
|
||||
List<Vod> list = new ArrayList<>();
|
||||
|
|
|
|||
|
|
@ -40,17 +40,7 @@ public class NaBi extends Cloud {
|
|||
|
||||
@Override
|
||||
public void init(Context context, String extend) throws Exception {
|
||||
JsonObject ext = Json.safeObject(extend);
|
||||
JsonArray siteList = ext.get("site").getAsJsonArray();
|
||||
if (!siteList.isEmpty()) {
|
||||
for (JsonElement jsonElement : siteList) {
|
||||
String html = OkHttp.string(jsonElement.getAsString());
|
||||
if (html.contains("电影")) {
|
||||
siteUrl = jsonElement.getAsString();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
// JsonObject ext = Json.safeObject(extend);
|
||||
super.init(context, extend);
|
||||
}
|
||||
|
||||
|
|
@ -76,7 +66,7 @@ public class NaBi extends Cloud {
|
|||
urlParams[Integer.parseInt(key)] = extend.get(key);
|
||||
}
|
||||
}
|
||||
Document doc = Jsoup.parse(OkHttp.string(String.format("%s/index.php/vodshow/%s.html", siteUrl, String.join("-", urlParams)), getHeader()));
|
||||
Document doc = Jsoup.parse(OkHttp.string(String.format("%s/index.php/vod/show/id/%s/page/%s.html", siteUrl, tid, pg), getHeader()));
|
||||
int page = Integer.parseInt(pg), limit = 72, total = 0;
|
||||
Matcher matcher = regexPageTotal.matcher(doc.html());
|
||||
if (matcher.find()) total = Integer.parseInt(matcher.group(1));
|
||||
|
|
@ -148,7 +138,7 @@ public class NaBi extends Cloud {
|
|||
|
||||
|
||||
private String searchContent(String key, String pg) {
|
||||
String searchURL = siteUrl + String.format("/index.php/vodsearch/%s----------%s---.html", URLEncoder.encode(key), pg);
|
||||
String searchURL = siteUrl + String.format("/index.php/vod/search/page/%s/wd/%s.html", pg,URLEncoder.encode(key));
|
||||
String html = OkHttp.string(searchURL, getHeader());
|
||||
Elements items = Jsoup.parse(html).select(".module-search-item");
|
||||
List<Vod> list = new ArrayList<>();
|
||||
|
|
|
|||
|
|
@ -40,17 +40,7 @@ public class ShanDian extends Cloud {
|
|||
|
||||
@Override
|
||||
public void init(Context context, String extend) throws Exception {
|
||||
JsonObject ext = Json.safeObject(extend);
|
||||
JsonArray siteList = ext.get("site").getAsJsonArray();
|
||||
if (!siteList.isEmpty()) {
|
||||
for (JsonElement jsonElement : siteList) {
|
||||
String html = OkHttp.string(jsonElement.getAsString());
|
||||
if (html.contains("电影")) {
|
||||
siteUrl = jsonElement.getAsString();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
// JsonObject ext = Json.safeObject(extend);
|
||||
super.init(context, extend);
|
||||
}
|
||||
|
||||
|
|
@ -76,7 +66,7 @@ public class ShanDian extends Cloud {
|
|||
urlParams[Integer.parseInt(key)] = extend.get(key);
|
||||
}
|
||||
}
|
||||
Document doc = Jsoup.parse(OkHttp.string(String.format("%s/index.php/vodshow/%s.html", siteUrl, String.join("-", urlParams)), getHeader()));
|
||||
Document doc = Jsoup.parse(OkHttp.string(String.format("%s/index.php/vod/show/id/%s/page/%s.html", siteUrl, tid, pg), getHeader()));
|
||||
int page = Integer.parseInt(pg), limit = 72, total = 0;
|
||||
Matcher matcher = regexPageTotal.matcher(doc.html());
|
||||
if (matcher.find()) total = Integer.parseInt(matcher.group(1));
|
||||
|
|
@ -148,7 +138,7 @@ public class ShanDian extends Cloud {
|
|||
|
||||
|
||||
private String searchContent(String key, String pg) {
|
||||
String searchURL = siteUrl + String.format("/index.php/vodsearch/%s----------%s---.html", URLEncoder.encode(key), pg);
|
||||
String searchURL = siteUrl + String.format("/index.php/vod/search/page/%s/wd/%s.html", pg,URLEncoder.encode(key));
|
||||
String html = OkHttp.string(searchURL, getHeader());
|
||||
Elements items = Jsoup.parse(html).select(".module-search-item");
|
||||
List<Vod> list = new ArrayList<>();
|
||||
|
|
|
|||
|
|
@ -40,17 +40,7 @@ public class TeXiaFan extends Cloud {
|
|||
|
||||
@Override
|
||||
public void init(Context context, String extend) throws Exception {
|
||||
JsonObject ext = Json.safeObject(extend);
|
||||
JsonArray siteList = ext.get("site").getAsJsonArray();
|
||||
if (!siteList.isEmpty()) {
|
||||
for (JsonElement jsonElement : siteList) {
|
||||
String html = OkHttp.string(jsonElement.getAsString());
|
||||
if (html.contains("电影")) {
|
||||
siteUrl = jsonElement.getAsString();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
// JsonObject ext = Json.safeObject(extend);
|
||||
super.init(context, extend);
|
||||
}
|
||||
|
||||
|
|
@ -76,7 +66,7 @@ public class TeXiaFan extends Cloud {
|
|||
urlParams[Integer.parseInt(key)] = extend.get(key);
|
||||
}
|
||||
}
|
||||
Document doc = Jsoup.parse(OkHttp.string(String.format("%s/index.php/vodshow/%s.html", siteUrl, String.join("-", urlParams)), getHeader()));
|
||||
Document doc = Jsoup.parse(OkHttp.string(String.format("%s/index.php/vod/show/id/%s/page/%s.html", siteUrl, tid, pg), getHeader()));
|
||||
int page = Integer.parseInt(pg), limit = 72, total = 0;
|
||||
Matcher matcher = regexPageTotal.matcher(doc.html());
|
||||
if (matcher.find()) total = Integer.parseInt(matcher.group(1));
|
||||
|
|
@ -148,7 +138,7 @@ public class TeXiaFan extends Cloud {
|
|||
|
||||
|
||||
private String searchContent(String key, String pg) {
|
||||
String searchURL = siteUrl + String.format("/index.php/vodsearch/%s----------%s---.html", URLEncoder.encode(key), pg);
|
||||
String searchURL = siteUrl + String.format("/index.php/vod/search/page/%s/wd/%s.html", pg,URLEncoder.encode(key));
|
||||
String html = OkHttp.string(searchURL, getHeader());
|
||||
Elements items = Jsoup.parse(html).select(".module-search-item");
|
||||
List<Vod> list = new ArrayList<>();
|
||||
|
|
|
|||
|
|
@ -40,17 +40,7 @@ public class XiaoMi extends Cloud {
|
|||
|
||||
@Override
|
||||
public void init(Context context, String extend) throws Exception {
|
||||
JsonObject ext = Json.safeObject(extend);
|
||||
JsonArray siteList = ext.get("site").getAsJsonArray();
|
||||
if (!siteList.isEmpty()) {
|
||||
for (JsonElement jsonElement : siteList) {
|
||||
String html = OkHttp.string(jsonElement.getAsString());
|
||||
if (html.contains("电影")) {
|
||||
siteUrl = jsonElement.getAsString();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
// JsonObject ext = Json.safeObject(extend);
|
||||
super.init(context, extend);
|
||||
}
|
||||
|
||||
|
|
@ -76,7 +66,7 @@ public class XiaoMi extends Cloud {
|
|||
urlParams[Integer.parseInt(key)] = extend.get(key);
|
||||
}
|
||||
}
|
||||
Document doc = Jsoup.parse(OkHttp.string(String.format("%s/index.php/vodshow/%s.html", siteUrl, String.join("-", urlParams)), getHeader()));
|
||||
Document doc = Jsoup.parse(OkHttp.string(String.format("%s/index.php/vod/show/id/%s/page/%s.html", siteUrl, tid, pg), getHeader()));
|
||||
int page = Integer.parseInt(pg), limit = 72, total = 0;
|
||||
Matcher matcher = regexPageTotal.matcher(doc.html());
|
||||
if (matcher.find()) total = Integer.parseInt(matcher.group(1));
|
||||
|
|
@ -148,7 +138,7 @@ public class XiaoMi extends Cloud {
|
|||
|
||||
|
||||
private String searchContent(String key, String pg) {
|
||||
String searchURL = siteUrl + String.format("/index.php/vodsearch/%s----------%s---.html", URLEncoder.encode(key), pg);
|
||||
String searchURL = siteUrl + String.format("/index.php/vod/search/page/%s/wd/%s.html", pg,URLEncoder.encode(key));
|
||||
String html = OkHttp.string(searchURL, getHeader());
|
||||
Elements items = Jsoup.parse(html).select(".module-search-item");
|
||||
List<Vod> list = new ArrayList<>();
|
||||
|
|
|
|||
|
|
@ -40,17 +40,7 @@ public class ZhiZhen extends Cloud {
|
|||
|
||||
@Override
|
||||
public void init(Context context, String extend) throws Exception {
|
||||
JsonObject ext = Json.safeObject(extend);
|
||||
JsonArray siteList = ext.get("site").getAsJsonArray();
|
||||
if (!siteList.isEmpty()) {
|
||||
for (JsonElement jsonElement : siteList) {
|
||||
String html = OkHttp.string(jsonElement.getAsString());
|
||||
if (html.contains("电影")) {
|
||||
siteUrl = jsonElement.getAsString();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
// JsonObject ext = Json.safeObject(extend);
|
||||
super.init(context, extend);
|
||||
}
|
||||
|
||||
|
|
@ -76,7 +66,7 @@ public class ZhiZhen extends Cloud {
|
|||
urlParams[Integer.parseInt(key)] = extend.get(key);
|
||||
}
|
||||
}
|
||||
Document doc = Jsoup.parse(OkHttp.string(String.format("%s/index.php/vodshow/%s.html", siteUrl, String.join("-", urlParams)), getHeader()));
|
||||
Document doc = Jsoup.parse(OkHttp.string(String.format("%s/index.php/vod/show/id/%s/page/%s.html", siteUrl, tid, pg), getHeader()));
|
||||
int page = Integer.parseInt(pg), limit = 72, total = 0;
|
||||
Matcher matcher = regexPageTotal.matcher(doc.html());
|
||||
if (matcher.find()) total = Integer.parseInt(matcher.group(1));
|
||||
|
|
@ -148,7 +138,7 @@ public class ZhiZhen extends Cloud {
|
|||
|
||||
|
||||
private String searchContent(String key, String pg) {
|
||||
String searchURL = siteUrl + String.format("/index.php/vodsearch/%s----------%s---.html", URLEncoder.encode(key), pg);
|
||||
String searchURL = siteUrl + String.format("/index.php/vod/search/page/%s/wd/%s.html", pg,URLEncoder.encode(key));
|
||||
String html = OkHttp.string(searchURL, getHeader());
|
||||
Elements items = Jsoup.parse(html).select(".module-search-item");
|
||||
List<Vod> list = new ArrayList<>();
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1 +1 @@
|
|||
c3be25374d8d674c8ca3b57c395d0fad
|
||||
8cfebc2822aa9b34bccab340ac7071ca
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"spider": "https://androidcatvodspider.netlify.app/jar/custom_spider.jar;md5;f9c6ffc30c6a09b30ee403675a8851af",
|
||||
"spider": "https://androidcatvodspider.netlify.app/jar/custom_spider.jar;md5;8cfebc2822aa9b34bccab340ac7071ca",
|
||||
"lives": [
|
||||
{
|
||||
"name": "直播",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"spider": "https://androidcatvodspider.netlify.app/jar/custom_spider.jar;md5;f9c6ffc30c6a09b30ee403675a8851af",
|
||||
"spider": "https://androidcatvodspider.netlify.app/jar/custom_spider.jar;md5;8cfebc2822aa9b34bccab340ac7071ca",
|
||||
"lives": [
|
||||
{
|
||||
"name": "直播ipv6",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"spider": "https://androidcatvodspider.netlify.app/jar/custom_spider.jar;md5;f9c6ffc30c6a09b30ee403675a8851af",
|
||||
"spider": "https://androidcatvodspider.netlify.app/jar/custom_spider.jar;md5;8cfebc2822aa9b34bccab340ac7071ca",
|
||||
"lives": [
|
||||
{
|
||||
"name": "直播ipv6",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"spider": "https://androidcatvodspider.netlify.app/jar/custom_spider.jar;md5;f9c6ffc30c6a09b30ee403675a8851af",
|
||||
"spider": "https://androidcatvodspider.netlify.app/jar/custom_spider.jar;md5;8cfebc2822aa9b34bccab340ac7071ca",
|
||||
"lives": [
|
||||
{
|
||||
"name": "直播",
|
||||
|
|
|
|||
Loading…
Reference in New Issue