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 8aa8f48 commit a4077a6Copy full SHA for a4077a6
src/main/java/mServer/crawler/sender/zdf/json/ZdfTopicBaseClass.java
@@ -140,6 +140,14 @@ private JsonArray getMediaNodes(JsonObject episodeObject) {
140
141
private Optional<String> parseSender(JsonObject episodeObject) {
142
143
+ if (episodeObject.has("contentOwner") && !episodeObject.get("contentOwner").isJsonNull()) {
144
+ final JsonObject contentOwner = episodeObject.getAsJsonObject("contentOwner");
145
+ final Optional<String> details = JsonUtils.getAttributeAsString(contentOwner, "details");
146
+ if (details.isPresent()) {
147
+ return details;
148
+ }
149
150
+
151
if (!episodeObject.has("tracking")) {
152
return Optional.empty();
153
}
0 commit comments