readabilitySAX
Advanced tools
Comparing version 1.5.1 to 1.5.2
@@ -30,3 +30,6 @@ var WritableStream = require("./WritableStream.js"), | ||
uri: uri, | ||
only2xx: true | ||
only2xx: true, | ||
headers: { | ||
"user-agent": "Mozilla/5.0 (compatible; readabilitySAX/1.5; +https://github.com/fb55/readabilitySAX)" | ||
} | ||
}).on("error", onErr).on("response", function(resp){ | ||
@@ -33,0 +36,0 @@ settings.pageURL = req.response.location; |
{ | ||
"name": "readabilitySAX", | ||
"version": "1.5.1", | ||
"version": "1.5.2", | ||
"description": "the readability script ported to a sax parser", | ||
@@ -5,0 +5,0 @@ "author": "Felix Boehm <me@feedic.com>", |
@@ -94,3 +94,2 @@ #readabilitySAX | ||
- Allow fetching articles with more than one page | ||
- Don't remove all images inside `<a>` tags | ||
- Add a `user-agent` header with usable contents | ||
- Don't remove all images inside `<a>` tags |
95363
912
94