mirror of
https://github.com/zoriya/flood.git
synced 2025-12-05 23:06:20 +00:00
fix: add a user agent for rss (#779)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user