main
Bob Mottram 2020-11-22 18:30:59 +00:00
parent d505132b17
commit b90abc6891
1 changed files with 3 additions and 0 deletions

View File

@ -246,6 +246,7 @@ def xml2StrToDict(baseDir: str, domain: str, xmlStr: str,
pubDateStr = str(publishedDate)
if not pubDateStr.endswith('+00:00'):
pubDateStr += '+00:00'
print('Feed date: ' + pubDateStr)
postFilename = ''
votesStatus = []
addNewswireDictEntry(baseDir, domain,
@ -316,6 +317,7 @@ def atomFeedToDict(baseDir: str, domain: str, xmlStr: str,
pubDateStr = str(publishedDate)
if not pubDateStr.endswith('+00:00'):
pubDateStr += '+00:00'
print('Feed date: ' + pubDateStr)
postFilename = ''
votesStatus = []
addNewswireDictEntry(baseDir, domain,
@ -383,6 +385,7 @@ def atomFeedYTToDict(baseDir: str, domain: str, xmlStr: str,
pubDateStr = str(publishedDate)
if not pubDateStr.endswith('+00:00'):
pubDateStr += '+00:00'
print('Feed date: ' + pubDateStr)
postFilename = ''
votesStatus = []
addNewswireDictEntry(baseDir, domain,