Socket
Socket
Sign inDemoInstall

crawler-js

Package Overview
Dependencies
80
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.3 to 2.0.4

.editorconfig

8

lib/get_html.js

@@ -105,6 +105,6 @@ var cheerio = require('cheerio'),

$(font.extractors[i].selector).each(function(e, elem){
font.extractors[i].callback(null, $(this), url, response);
font.extractors[i].callback(null, $(this), url, response, font);
});
}else{
font.extractors[i].callback(null, $(this), url, response);
font.extractors[i].callback(null, $(this), url, response, font);
}

@@ -119,3 +119,3 @@ }

data['otherAttempts'] = font.tryAgain;
font.extractors[0].callback(data, null, url, response);
font.extractors[0].callback(data, null, url, response, null);
delete data;

@@ -138,3 +138,3 @@ if(typeof font.tryAgain != 'undefined' && font.tryAgain > 0){

for(var i in font.extractors){
font.extractors[i].callback(data, null, url, response);
font.extractors[i].callback(data, null, url, response, null);
}

@@ -141,0 +141,0 @@ delete data;

@@ -5,3 +5,3 @@ {

"homepage": "http://github.com/CrawlerJS/CrawlerJS",
"version": "2.0.3",
"version": "2.0.4",
"keywords": [

@@ -8,0 +8,0 @@ "crawler",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc