facundoolano / google-play-scraper

Node.js scraper to get data from Google Play
MIT License
2.27k stars 623 forks source link

[Bug] search: "Showing results for" error #566

Open KaKi87 opened 2 years ago

KaKi87 commented 2 years ago

Description:

A Showing results for error is thrown when using search with a typo.

Example code:

require('google-play-scraper')
    .search({ term: 'runing tracker' })
    .then(console.log)
    .catch(console.error);

Error message:

Error: Showing results for 
    at processFirstPage (node_modules/google-play-scraper/lib/search.js:103:13)
    at node_modules/google-play-scraper/lib/search.js:31:21
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

Additional info:

This is probably related to the following screenshot. Screenshot from 2022-06-28 10-04-28


Thanks

shaindi commented 2 years ago

I came across this bug too. The "Showing results for" section have to be considered in the mapping. I Don't know how to fix.

facundoolano commented 2 years ago

I published a patch yesterday, can you try again?

KaKi87 commented 2 years ago

I am still experiencing exactly the same error using exactly the same code snippet.

knirpsfass commented 2 years ago

Would be cool if you could additionally check the PR not only if the suggested search works but also your "daily business" https://github.com/facundoolano/google-play-scraper/pull/568