basiclines / GooglePlay-JSAPI

Google Play Store API in NodeJS
22 stars 18 forks source link

Searching for apps #5

Open rubolas opened 9 years ago

rubolas commented 9 years ago

I'm using this repo for fantastic searching within Google Play Store. As of today I experience that the search mechanism does crash when a search is conducted. The stacktrace is as follows:

Fetching url https://play.google.com/store/search?&c=apps&q=melanoma&hl=en_US TypeError: Cannot call method 'match' of undefined at Object. (src/GooglePlay-JSAPI/scrapers/search.js:28:45) at exports.each (src/GooglePlay-JSAPI/node_modules/cheerio/lib/api/traversing.js:293:24) at Object.module.exports.parse (src/GooglePlay-JSAPI/scrapers/search.js:17:27) at Request._callback (src/GooglePlay-JSAPI/api.js:40:24) at Request.self.callback (src/GooglePlay-JSAPI/node_modules/request/request.js:198:22) at Request.EventEmitter.emit (events.js:98:17) at Request. (src/GooglePlay-JSAPI/node_modules/request/request.js:1082:10) at Request.EventEmitter.emit (events.js:117:20) at IncomingMessage. (src/GooglePlay-JSAPI/node_modules/request/request.js:1009:12) at IncomingMessage.EventEmitter.emit (events.js:117:20)

Any ideas?