Extra warning

merge-requests/8/head
Bob Mottram 2020-11-22 13:04:58 +00:00
parent 03842778cc
commit 64b4e7fbd8
1 changed files with 2 additions and 0 deletions

View File

@ -473,6 +473,8 @@ def getRSS(baseDir: str, domain: str, session, url: str,
else:
print('WARN: feed is too large, ' +
'or contains invalid characters: ' + url)
else:
print('WARN: no result returned for feed ' + url)
except requests.exceptions.RequestException as e:
print('ERROR: getRSS failed\nurl: ' + str(url) + '\n' +
'headers: ' + str(sessionHeaders) + '\n' +