app-store-scraper
Advanced tools
Comparing version 0.15.1 to 0.15.2
@@ -44,3 +44,4 @@ 'use strict'; | ||
if (opts.fullDetail) { | ||
return common.lookup(R.pluck('im:id', apps), 'id', opts.country, opts.requestOptions); | ||
const ids = apps.map((app) => app.id.attributes['im:id']); | ||
return common.lookup(ids, 'id', opts.country, opts.requestOptions); | ||
} | ||
@@ -47,0 +48,0 @@ |
{ | ||
"name": "app-store-scraper", | ||
"version": "0.15.1", | ||
"version": "0.15.2", | ||
"description": "scrape data from the itunes app store", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -50,3 +50,3 @@ 'use strict'; | ||
fullDetail: true, | ||
num: 5 | ||
num: 3 | ||
}) | ||
@@ -57,4 +57,4 @@ .then((apps) => apps.map(assertValidApp)) | ||
assert.equal(app.genre, 'Games'); | ||
assert.equal(app.genreId, '6014'); | ||
assert.equal(app.primaryGenre, 'Games'); | ||
assert.equal(app.primaryGenreId, '6014'); | ||
@@ -61,0 +61,0 @@ assert.equal(app.price, '0.00000'); |
42564
1003