leijing 源

This commit is contained in:
“lushunming” 2025-06-01 13:47:34 +08:00
parent 8f30d22e78
commit 0d5753a208
5 changed files with 4 additions and 4 deletions

View File

@ -337,7 +337,7 @@ public class TianyiApi {
for (JsonElement item : items) { for (JsonElement item : items) {
if (item.getAsJsonObject().get("mediaType").getAsInt() == 3) { if (item.getAsJsonObject().get("mediaType").getAsInt() == 3) {
if (item.getAsJsonObject().get("size").getAsInt() < 1024 * 1024 * 5) continue; if (item.getAsJsonObject().get("size").getAsLong() < 1024 * 1024 * 5) continue;
videos.add(Item.objectFrom(item.getAsJsonObject(), shareData.getShareId(), shareIndex)); videos.add(Item.objectFrom(item.getAsJsonObject(), shareData.getShareId(), shareIndex));
} /*else if ("file".equals(item.get("type")) && this.subtitleExts.contains("." + Util.getExt((String) item.get("file_name")))) { } /*else if ("file".equals(item.get("type")) && this.subtitleExts.contains("." + Util.getExt((String) item.get("file_name")))) {

View File

@ -70,7 +70,7 @@ public class LeiJingTest {
@org.junit.Test @org.junit.Test
public void detailContent() throws Exception { public void detailContent() throws Exception {
String content = spider.detailContent(Arrays.asList("thread?topicId=35473")); String content = spider.detailContent(Arrays.asList("thread?topicId=35472"));
System.out.println("detailContent--" + content); System.out.println("detailContent--" + content);
JsonObject map = Json.safeObject(content); JsonObject map = Json.safeObject(content);

Binary file not shown.

View File

@ -1 +1 @@
d68b53069d28d51471d29c10c52a1ba3 4a9814b359e0f39cf4613cd801871c06

View File

@ -1,5 +1,5 @@
{ {
"spider": "https://androidcatvodspider.netlify.app/jar/custom_spider.jar;md5;d68b53069d28d51471d29c10c52a1ba3", "spider": "https://androidcatvodspider.netlify.app/jar/custom_spider.jar;md5;4a9814b359e0f39cf4613cd801871c06",
"lives": [ "lives": [
{ {
"name": "电视直播", "name": "电视直播",