We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a064c68 commit b7ee6a5Copy full SHA for b7ee6a5
src/main/java/de/mediathekview/mserver/crawler/zdf/json/ZdfTopicBaseClass.java
@@ -57,14 +57,16 @@ protected Set<ZdfFilmDto> deserializeMovie(JsonElement episode) {
57
}
58
59
if (title.isPresent()) {
60
-
61
- return createFilm(
62
- ZdfConstants.PARTNER_TO_SENDER.get(sender.orElse("EMPTY")),
63
- title.get(),
64
- description,
65
- website,
66
- time,
67
- downloadUrls);
+ String senderValue = sender.orElse("EMPTY");
+ if (ZdfConstants.PARTNER_TO_SENDER.containsKey(senderValue)) {
+ return createFilm(
+ ZdfConstants.PARTNER_TO_SENDER.get(senderValue),
+ title.get(),
+ description,
+ website,
+ time,
68
+ downloadUrls);
69
+ }
70
} else {
71
LOG.error("ZdfTopicSeasonDeserializer: no title found");
72
0 commit comments