Update push image

pull/84/head
FongMi 2 years ago
parent 25232edd0c
commit 15f94bc061
  1. 3
      app/src/main/java/com/github/catvod/spider/Push.java
  2. 1
      app/src/main/java/com/github/catvod/utils/Image.java
  3. BIN
      jar/custom_spider.jar
  4. 2
      jar/custom_spider.jar.md5

@ -9,6 +9,7 @@ import com.github.catvod.bean.Sub;
import com.github.catvod.bean.Vod;
import com.github.catvod.crawler.Spider;
import com.github.catvod.net.OkHttp;
import com.github.catvod.utils.Image;
import com.github.catvod.utils.Util;
import java.io.File;
@ -48,10 +49,10 @@ public class Push extends Spider {
private Vod vod(String url) {
Vod vod = new Vod();
vod.setVodId(url);
vod.setVodPic(Image.PUSH);
vod.setTypeName("FongMi");
vod.setVodName(url.startsWith("file://") ? new File(url).getName() : url);
if (url.startsWith("http") && url.contains("#")) url = url.replace("#", "***");
vod.setVodPic("https://pic.rmb.bdstatic.com/bjh/1d0b02d0f57f0a42201f92caba5107ed.jpeg");
String play = "播放$" + url;
boolean thunder = Util.isThunder(url);
vod.setVodPlayUrl(thunder ? play : TextUtils.join("$$$", Arrays.asList(play, play, play)));

File diff suppressed because one or more lines are too long

Binary file not shown.

@ -1 +1 @@
528c76fdf519c0411b619b75032eacb7
981f96ca587242d475007855c5b33f56

Loading…
Cancel
Save