google-play-scraper
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -10,3 +10,3 @@ 'use strict'; | ||
if (opts.fullDetail) { | ||
return getParseDetailList(opts.lang, opts.country); | ||
return getParseDetailList(opts.lang, opts.country, opts.num); | ||
} | ||
@@ -22,5 +22,5 @@ | ||
*/ | ||
function getParseDetailList (lang, country) { | ||
function getParseDetailList (lang, country, num) { | ||
return function ($) { | ||
const promises = $('.card').get().map(function (app) { | ||
const promises = $('.card').get().slice(0, num).map(function (app) { | ||
const appId = $(app).attr('data-docid'); | ||
@@ -27,0 +27,0 @@ return getApp({ |
{ | ||
"name": "google-play-scraper", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "scrapes app data from google play store", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
42177