leijing 源
This commit is contained in:
parent
8f30d22e78
commit
0d5753a208
|
|
@ -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")))) {
|
||||||
|
|
|
||||||
|
|
@ -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.
|
|
@ -1 +1 @@
|
||||||
d68b53069d28d51471d29c10c52a1ba3
|
4a9814b359e0f39cf4613cd801871c06
|
||||||
|
|
|
||||||
|
|
@ -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": "电视直播",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue