fix: add a user agent for rss (#779)

This commit is contained in:
2024-08-10 18:03:52 +02:00
committed by GitHub
parent ad355c5935
commit edc5054014

View File

@@ -54,6 +54,11 @@ class FeedReader {
maxHistory: this.options.maxHistory,
interval: this.options.interval,
forceInterval: true,
requestOpts: {
headers: {
'User-Agent': 'flood',
},
},
});
this.reader.on('items', this.handleFeedItems);