From a0c1c5bca6eb079bb3df03c91cc4d6bb3b8e2ae2 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 12 Feb 2022 15:38:35 +0000 Subject: [PATCH] Podcast social interaction fields --- newswire.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/newswire.py b/newswire.py index c9734916e..a01f95002 100644 --- a/newswire.py +++ b/newswire.py @@ -463,7 +463,8 @@ def xml_podcast_to_dict(xml_item: str, xml_str: str) -> {}: "soundbites": [], "transcripts": [], "valueRecipients": [], - "trailers": [] + "trailers": [], + "socialInteract": [] } pod_lines = xml_item.split(' {}: 'url', 'geo', 'osm', 'type', 'method', 'group', 'owner', 'srcset', 'img', 'role', 'address', 'suggested', 'startTime', 'duration', 'href', 'name', 'pubdate', - 'length', 'season', 'email' + 'length', 'season', 'email', 'platform', 'protocol', + 'accountId', 'priority' ) pod_entry = {} for pod_field in pod_fields: