diff --git a/newswire.py b/newswire.py index 29abb2428..29e24e3b7 100644 --- a/newswire.py +++ b/newswire.py @@ -302,6 +302,7 @@ def _xml2StrToDict(baseDir: str, domain: str, xmlStr: str, continue title = rssItem.split('')[1] title = _removeCDATA(title.split('')[0]) + title = removeHtml(title) description = '' if '' in rssItem and '' in rssItem: description = rssItem.split('')[1] @@ -388,6 +389,7 @@ def _xml1StrToDict(baseDir: str, domain: str, xmlStr: str, continue title = rssItem.split('')[1] title = _removeCDATA(title.split('')[0]) + title = removeHtml(title) description = '' if '' in rssItem and '' in rssItem: description = rssItem.split('')[1] @@ -462,6 +464,7 @@ def _atomFeedToDict(baseDir: str, domain: str, xmlStr: str, continue title = atomItem.split('')[1] title = _removeCDATA(title.split('')[0]) + title = removeHtml(title) description = '' if '' in atomItem and '' in atomItem: description = atomItem.split('')[1]