diff --git a/newswire.py b/newswire.py index 60ef3bee..84e05f9b 100644 --- a/newswire.py +++ b/newswire.py @@ -370,9 +370,9 @@ def atomFeedYTToDict(baseDir: str, domain: str, xmlStr: str, continue if '' not in atomItem: continue - if '' not in atomItem: + if '' not in atomItem: continue - if '' not in atomItem: + if '' not in atomItem: continue if '' not in atomItem: continue @@ -393,8 +393,8 @@ def atomFeedYTToDict(baseDir: str, domain: str, xmlStr: str, link = atomItem.split('')[1] link = link.split('')[0] link = 'https://www.youtube.com/watch?v=' + link.strip() - pubDate = atomItem.split('')[1] - pubDate = pubDate.split('')[0] + pubDate = atomItem.split('')[1] + pubDate = pubDate.split('')[0] pubDateStr = parseFeedDate(pubDate) if pubDateStr: