-
-
Notifications
You must be signed in to change notification settings - Fork 637
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Cannot read property 'replace' of undefined #539
Comments
Is something changed in api? "Cannot read property 'replace' of undefined" It is not clear- is there new version of google play scraper to fix this? |
Same thing happening to me, I'm guessing something changed with the |
Yeah, i guess it's time to change mappings |
@facundoolano @icarcal Anything you can do about this? I tried taking a look at the mappings myself but I can't make any sense of it. |
I tried to work around the errors with the mapping all way to the end but then ended up with an empty object. So it's not This is the main reason why it's failing. I think now the mapping must be completely re-done for the new UI of the Play Store. |
Same thing happening to me. I was able to fix the mapping by completely redo it. I created a PR with my changes. |
@pvomhoff Thanks! Hopefully that will get merged soon. Out of curiosity, how do you generate the mappings? Is there a special tool you use to do it? |
So i fetched this big weird json from Play Store for the old version and the new version. My biggest problem was actually that Google didnt fully roll out the changes yet so it kept breaking depending which version the scraper got. |
@pvomhoff |
I had a strange problem: I found the reason and want a solution. in the new UI, when search term is equals exactly to name of an app, it show this specific app big before all results, that why, search "word", "Pepper – Mobile Banking" or any other exact names of apps, will not get results in scraper. can someone try fix it? |
Small accuracy: (Then Google shows it big and we miss out on the mapping) In short, our mapping should also be tailored to the option of having one primary outcome first and foremost |
I wrote a pair of scripts which helped me to build my mappings |
Any update? It's been a week. |
Any more news or potential workarounds? |
any updates? |
can you check if this still happens with the latest version? |
Updated to v9.0.0. Appears to be working! Have rolled out to production immediately. Thank you |
Now it's 'split' of undefined : https://git.kaki87.net/playsearch.kaki87.net/v2-api/issues/2 |
It still happen with latest version 9.0.2 |
Works great on my end, thanks!
I tried the search functionality and it seems to be limited to 30 results. Is that intentional?
Bests,
Behnam
… On Jun 23, 2022, at 12:31 PM, Facundo Olano ***@***.***> wrote:
can you check if this still happens with the latest version?
—
Reply to this email directly, view it on GitHub <#539 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABKS7ZTL6AADU2WVAXQMBPLVQSGNNANCNFSM5WE5IUMQ>.
You are receiving this because you are subscribed to this thread.
|
Operating System: Linux
Node version: 14.19.2
google-play-scraper version: 8.1.0
Description:
We are using this scraper on a cron once an hour as part of a version control system. Occasionally the below Http Exception is thrown and we are emailed about the failure.
Example code:
This is the code we're running.
This is the code in the package that appears to be throwing the error:
It's as if the scraper fails every now and then and the description field is therefore undefined?
Error message:
The text was updated successfully, but these errors were encountered: