mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
parent
a5f29e3445
commit
15cab5a381
@ -22,7 +22,7 @@ module.exports = function(RED) {
|
||||
var req = request(node.url, {timeout:10000, pool:false});
|
||||
//req.setMaxListeners(50);
|
||||
req.setHeader('user-agent', 'Mozilla/5.0 (Node-RED)');
|
||||
req.setHeader('accept', 'text/html,application/xhtml+xml');
|
||||
req.setHeader('accept', 'application/rss+xml,text/html,application/xhtml+xml');
|
||||
|
||||
var feedparser = new FeedParser();
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
{
|
||||
"name": "node-red-node-feedparser",
|
||||
"version": "0.1.13",
|
||||
"version": "0.1.14",
|
||||
"description": "A Node-RED node to get RSS Atom feeds.",
|
||||
"dependencies": {
|
||||
"feedparser": "^2.2.9",
|
||||
"request": "^2.83.0"
|
||||
"request": "^2.88.0"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
Loading…
Reference in New Issue
Block a user