eksi-sozluk
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -22,2 +22,4 @@ var debug = require('debug')('eksi-sozluk:entries'), | ||
result.pages.length || ( result.pages = [1] ); | ||
markAsDone = done(result, callback); | ||
@@ -29,3 +31,3 @@ | ||
getPage(options.title, page, function(error, content){ | ||
getPage(options.title.toLowerCase(), page, function(error, content){ | ||
@@ -57,5 +59,5 @@ if(error) return done(error); | ||
request(url, function(error, body){ | ||
var origTitle = title, | ||
title, entries; | ||
var title, entries; | ||
if(error) return callback(error); | ||
@@ -68,3 +70,3 @@ | ||
callback(undefined, { title: title, entries: entries }); | ||
callback(undefined, { title: title, origTitle: origTitle, entries: entries }); | ||
@@ -71,0 +73,0 @@ }); |
{ | ||
"name": "eksi-sozluk", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "NodeJS client to query Eksi Sozluk", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
7816
155