We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 862bfb0 + a4077a6 commit 5d1939dCopy full SHA for 5d1939d
1 file changed
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