diff --git a/UPDATE.md b/UPDATE.md
index af2078b2..3b3c814d 100644
--- a/UPDATE.md
+++ b/UPDATE.md
@@ -1 +1 @@
-优化备用RSS通知
+修复TMDB获取失败时无法添加订阅的问题
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 9ccb39af..f7ca9ed0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
ani.rss
ani-rss
- 1.1.215
+ 1.1.216
11
diff --git a/src/main/java/ani/rss/util/TmdbUtil.java b/src/main/java/ani/rss/util/TmdbUtil.java
index b217e85f..c44e6354 100644
--- a/src/main/java/ani/rss/util/TmdbUtil.java
+++ b/src/main/java/ani/rss/util/TmdbUtil.java
@@ -16,6 +16,7 @@
import java.util.Date;
import java.util.List;
+import java.util.Objects;
import java.util.Optional;
@Slf4j
@@ -54,6 +55,10 @@ public synchronized static String getName(String name, String type) {
return "";
}
+ if (Objects.isNull(tmdb)) {
+ return "";
+ }
+
String themoviedbName = tmdb.getName();
if (StrUtil.isBlank(themoviedbName)) {
return "";