forked from indymedia/epicyon
Extra warning
parent
03842778cc
commit
64b4e7fbd8
|
@ -473,6 +473,8 @@ def getRSS(baseDir: str, domain: str, session, url: str,
|
||||||
else:
|
else:
|
||||||
print('WARN: feed is too large, ' +
|
print('WARN: feed is too large, ' +
|
||||||
'or contains invalid characters: ' + url)
|
'or contains invalid characters: ' + url)
|
||||||
|
else:
|
||||||
|
print('WARN: no result returned for feed ' + url)
|
||||||
except requests.exceptions.RequestException as e:
|
except requests.exceptions.RequestException as e:
|
||||||
print('ERROR: getRSS failed\nurl: ' + str(url) + '\n' +
|
print('ERROR: getRSS failed\nurl: ' + str(url) + '\n' +
|
||||||
'headers: ' + str(sessionHeaders) + '\n' +
|
'headers: ' + str(sessionHeaders) + '\n' +
|
||||||
|
|
Loading…
Reference in New Issue