Skip to content

Commit

Permalink
fix: 不保存弹幕记录,以免影响到视频下载
Browse files Browse the repository at this point in the history
  • Loading branch information
nICEnnnnnnnLee committed Nov 23, 2023
1 parent f2bddbe commit b328e35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nicelee/bilibili/util/RepoUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ public static boolean isInRepo(String avRecord) {
*/
public static void appendAndSave(String avRecord) {
System.out.println("已完成下载: " + avRecord);
if (avRecord.contains("-800-")) {
Logger.println("字幕文件,不计入下载记录");
if (avRecord.contains("-800-") || avRecord.contains("-801-")) {
Logger.println("字幕/弹幕文件,不计入下载记录");
return;
}
if (!isInRepo(avRecord)) {
Expand Down

0 comments on commit b328e35

Please sign in to comment.