Maximum newswire posts per source in config file

This commit is contained in:
bashrc committed 2020-10-16 11:53:08 +01:00
1 parent 876b29b7be
commit 257a2d1e88
1 file changed
+7
+7
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: