From 257a2d1e88e8234f98369d1f6030bdee20f21338 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 16 Oct 2020 11:53:08 +0100 Subject: [PATCH] Maximum newswire posts per source in config file --- epicyon.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/epicyon.py b/epicyon.py index e3010b9c8..40ecac650 100644 --- a/epicyon.py +++ b/epicyon.py @@ -1929,6 +1929,13 @@ dateonly = getConfigParam(baseDir, 'dateonly') if dateonly: args.dateonly = dateonly +# set the maximum number of newswire posts per account or rss feed +maxNewswirePostsPerSource = \ + getConfigParam(baseDir, 'maxNewswirePostsPerSource') +if maxNewswirePostsPerSource: + if maxNewswirePostsPerSource.isdigit(): + args.maxNewswirePostsPerSource = maxNewswirePostsPerSource + YTDomain = getConfigParam(baseDir, 'youtubedomain') if YTDomain: if '://' in YTDomain: