app-store-scraper icon indicating copy to clipboard operation
app-store-scraper copied to clipboard

Getting an error when targeting Mac apps

Open stoplion opened this issue 5 years ago • 1 comments

  • Operating System: OS x
  • Node version: 12.18.1
  • app-play-scraper version: 0.16.3

Description:

var store = require("app-store-scraper");

console.log(store.collection);
store
  .list({
    collection: store.collection.TOP_MAC,
    category: store.category.BUSINESS,
    num: 20,
  })
  .then(console.log)
  .catch(console.log);

Results in..

Error message:

TypeError: Cannot read property 'map' of undefined
    at /Users/georgenorris/Code/project/node_modules/app-store-scraper/lib/list.js:57:17

Is there a way to target Mac apps?

stoplion avatar Aug 05 '20 04:08 stoplion

I am having the same problem with TOP_GROSSING_MAC and TOP_PAID_MAC as well

PaquitoelChocolatero avatar Sep 21 '20 14:09 PaquitoelChocolatero