Allow redirects when getting rss feeds

main
Bob Mottram 2023-08-17 17:46:59 +01:00
parent 7963c36c9e
commit 1257536fae
1 changed files with 1 additions and 1 deletions

View File

@ -1371,7 +1371,7 @@ def get_rss(base_dir: str, domain: str, session, url: str,
session.get(url, headers=session_headers,
params=session_params,
timeout=timeout_sec,
allow_redirects=False)
allow_redirects=True)
if result:
if int(len(result.text) / 1024) >= max_feed_size_kb:
print('WARN: feed is too large: ' + url)