Maximum newswire posts per source in config file

main
Bob Mottram 2020-10-16 11:53:08 +01:00
parent 876b29b7be
commit 257a2d1e88
1 changed files with 7 additions and 0 deletions

View File

@ -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: