diff --git a/newswire.py b/newswire.py index 7874ecb9..2eb9f34c 100644 --- a/newswire.py +++ b/newswire.py @@ -159,6 +159,11 @@ def xml2StrToDict(baseDir: str, domain: str, xmlStr: str, if '' in rssItem and '' in rssItem: description = rssItem.split('')[1] description = description.split('')[0] + else: + if '' in rssItem and \ + '' in rssItem: + description = rssItem.split('')[1] + description = description.split('')[0] link = rssItem.split('')[1] link = link.split('')[0] if '://' not in link: