google-play-scraper: Search is not returning any results
It looks like the DOM structure of the search results page on the play store has changed and is not getting parsed correctly any more.
Unfortunately it seems they have done away with human readable selectors and are now using generated selectors that I presume will change when they rebuild/redeploy the play store.
var gplay = require('google-play-scraper');
gplay.search({
term: "panda",
num: 2
}).then(console.log, console.log);
returns no results.
[]
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 2
- Comments: 16 (5 by maintainers)
With fixed limit.
https://github.com/hunnapikes/google-play-scraper/commit/d036cd954f3df6a616e690ffc808c6ff69c31484
Works, but with limit 50. https://github.com/hunnapikes/google-play-scraper/commit/2aab61c7c27d829d491fe71185d50e89f7b17e3d
@blank003 Just read the README :
Regarding this, considering it looks like google is moving towards the data embedded in scripts approach, I want to get #303 approved and merged first, since it’s the one that’s more far along and where we’ve been discussing the changes.
Once that is merged, the fix for
search
(anddeveloper
maybe?) should be based on those new helpers.