update
This commit is contained in:
parent
5af58336ec
commit
177c91c370
@ -160,7 +160,8 @@ public class BiliBiliManga {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
System.out.println(BiliBiliManga.sign());
|
// System.out.println(BiliBiliManga.sign());
|
||||||
|
BiliBiliUtils.getInstance(583819556L).sendLiveDanmu(33989,"学学这个");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Data
|
@Data
|
||||||
|
50
src/main/java/com/yutou/qqbot/data/bili/EPInfo.java
Normal file
50
src/main/java/com/yutou/qqbot/data/bili/EPInfo.java
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
package com.yutou.qqbot.data.bili;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class EPInfo {
|
||||||
|
private int code;
|
||||||
|
private String message;
|
||||||
|
private MediaResult result;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public static class MediaResult {
|
||||||
|
private Media media;
|
||||||
|
|
||||||
|
// getters and setters
|
||||||
|
}
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public static class Media {
|
||||||
|
private String cover;
|
||||||
|
private String horizontal_picture;
|
||||||
|
private int media_id;
|
||||||
|
private NewEp new_ep;
|
||||||
|
private Rating rating;
|
||||||
|
private int season_id;
|
||||||
|
private String share_url;
|
||||||
|
private String title;
|
||||||
|
private int type;
|
||||||
|
private String type_name;
|
||||||
|
|
||||||
|
// getters and setters
|
||||||
|
}
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public static class NewEp {
|
||||||
|
private int id;
|
||||||
|
private String index;
|
||||||
|
private String index_show;
|
||||||
|
|
||||||
|
// getters and setters
|
||||||
|
}
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public static class Rating {
|
||||||
|
private int count;
|
||||||
|
private double score;
|
||||||
|
|
||||||
|
// getters and setters
|
||||||
|
}
|
||||||
|
}
|
@ -366,7 +366,7 @@ public class BiliVideo extends Model {
|
|||||||
//video.downVideo("https://www.bilibili.com/video/BV1qF411T7Vf?spm_id_from=444.41.list.card_archive.click");
|
//video.downVideo("https://www.bilibili.com/video/BV1qF411T7Vf?spm_id_from=444.41.list.card_archive.click");
|
||||||
//唐诱正片
|
//唐诱正片
|
||||||
//video.downVideo("https://www.bilibili.com/video/BV1L44y147zR?spm_id_from=333.999.0.0");// ep1
|
//video.downVideo("https://www.bilibili.com/video/BV1L44y147zR?spm_id_from=333.999.0.0");// ep1
|
||||||
video.downVideo("https://www.bilibili.com/video/BV1Zu4y1B7DU/?spm_id_from=333.337.search-card.all.click", true, false);// ep5
|
//video.downVideo("https://www.bilibili`.com/video/BV1Zu4y1B7DU/?spm_id_from=333.337.search-card.all.click", true, false);// ep5
|
||||||
// video.downVideo("https://www.bilibili.com/video/BV1SL411g7FS/?spm_id_from=333.788.recommend_more_video.0"); //all ig 1\5
|
// video.downVideo("https://www.bilibili.com/video/BV1SL411g7FS/?spm_id_from=333.788.recommend_more_video.0"); //all ig 1\5
|
||||||
|
|
||||||
// video.downVideo("https://www.bilibili.com/video/BV18L4y1H7rz?spm_id_from=333.999.0.0");
|
// video.downVideo("https://www.bilibili.com/video/BV18L4y1H7rz?spm_id_from=333.999.0.0");
|
||||||
@ -374,6 +374,7 @@ public class BiliVideo extends Model {
|
|||||||
// int a=16|2048;
|
// int a=16|2048;
|
||||||
// System.out.println("a = " + a);
|
// System.out.println("a = " + a);
|
||||||
//video.downDanmu(428855000L,976216102L,"【都市_情感】《唐可可的诱惑》第一集",1);
|
//video.downDanmu(428855000L,976216102L,"【都市_情感】《唐可可的诱惑》第一集",1);
|
||||||
|
video.downVideo("https://www.bilibili.com/bangumi/play/ep776259", false, false);// ep5
|
||||||
System.out.println("事件结束");
|
System.out.println("事件结束");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user