app-store-scraper
app-store-scraper copied to clipboard
Getting an error when targeting Mac apps
- 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?
I am having the same problem with TOP_GROSSING_MAC and TOP_PAID_MAC as well