diff --git a/src/main/java/com/yutou/bilibili/services/LiveVideoDownloadService.java b/src/main/java/com/yutou/bilibili/services/LiveVideoDownloadService.java index f1d05a7..b35650b 100644 --- a/src/main/java/com/yutou/bilibili/services/LiveVideoDownloadService.java +++ b/src/main/java/com/yutou/bilibili/services/LiveVideoDownloadService.java @@ -88,7 +88,7 @@ public class LiveVideoDownloadService { @Override public void onResponse(Headers headers, int code, String status, LiveRoomInfo response, String rawResponse) { if (response.getLiveStatus() == 1) { - if (!bean.getKeywordList().isEmpty() && !isUser) { + if (bean.getKeywordList()!=null&&!bean.getKeywordList().isEmpty() && !isUser) { String foundKey = bean.getKeywordList().stream() .filter(key -> response.getTitle().contains(key)) .findFirst()