diff --git a/newswire.py b/newswire.py index 0d3ddcee..d9796967 100644 --- a/newswire.py +++ b/newswire.py @@ -164,7 +164,10 @@ def getRSSfromDict(baseDir: str, newswire: {}, continue rssStr += '\n' rssStr += ' ' + fields[0] + '\n' - rssStr += ' ' + fields[1] + '\n' + url = fields[1] + if domainFull not in url: + url = httpPrefix + '://' + domainFull + url + rssStr += ' ' + url + '\n' rssDateStr = pubDate.strftime("%a, %d %b %Y %H:%M:%S UT") rssStr += ' ' + rssDateStr + '\n'