crawler-js
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -59,2 +59,12 @@ var request = require('request') | ||
var addUrl = function(get,post){ | ||
if(typeof get != undefined){ | ||
url.get = get; | ||
if(typeof post != undefined){ | ||
url.post = post; | ||
} | ||
getHtml(font, url,config); | ||
} | ||
} | ||
request(options, function(error, response, body){ | ||
@@ -61,0 +71,0 @@ if(!error){ |
@@ -23,6 +23,5 @@ toCsvValue = function(theValue, sDelimiter) { | ||
if (line != ''){ | ||
line = line.replace('|',' '); | ||
line += '|'; | ||
} | ||
line += array[i][index]; | ||
line += '"'+array[i][index].replace('|',' ')+'"'; | ||
} | ||
@@ -29,0 +28,0 @@ if (line != '') str += line + '\r\n' |
@@ -126,3 +126,2 @@ var RateLimiter = require('limiter').RateLimiter | ||
var fontTemp = clone(font); | ||
count++; | ||
if(count == font.limiter){ | ||
@@ -137,2 +136,3 @@ fontTemp[font['type']+'Attributes'][font[font['type']+'CurrentEntry']]['init'] = i+font[font['type']+'Attributes'][font[font['type']+'CurrentEntry']]['diff']; | ||
} | ||
count++; | ||
} | ||
@@ -139,0 +139,0 @@ } |
{ | ||
"name": "crawler-js", | ||
"description": "Opensource Framework Crawler in Node.js", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"main": "index.js", | ||
@@ -6,0 +6,0 @@ "author": "Rodrigo Matheus <rodrigorizando@gmail.com>", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
93071
988