Skip to content

Commit

Permalink
Fix issues with http://www.nytimes.com.
Browse files Browse the repository at this point in the history
  • Loading branch information
mxr576 committed Nov 14, 2015
1 parent 2d050d3 commit 20e2187
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions lib/extractors/extractor-prototype.js
@@ -1,7 +1,5 @@
'use strict';

var util = require('util');

/**
* Prototype of Extractor backends.
*
Expand Down
2 changes: 1 addition & 1 deletion lib/extractors/node-readability.js
Expand Up @@ -22,7 +22,7 @@ util.inherits(NodeReadabilityExtractor, ExtractorPrototype);
*/
NodeReadabilityExtractor.prototype.extract = function (url, cb) {
var self = this;
node_readability(url, {gzip: true}, function (error, article, meta) {
node_readability(url, {gzip: true, jar: true}, function (error, article, meta) {
if (error || article === undefined || article.content === false) {
return cb({error: error, component: self.name}, null);
}
Expand Down

0 comments on commit 20e2187

Please sign in to comment.