-
-
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
Fixed mapping for app listing #547
Conversation
What's the difference with #545? |
It's missed the mapping for the 'search' method. I pulled from #545 and fixed the specific mapping. |
@weizenberg it misses the fact of handling the enriched results, like facebook first result here |
Hello @weizenberg , I used your PR by but I still can not use the list function. These are the steps I use
I failed with an error called
Could you help on this list function? |
It works me for search, I dont know how to fix the mapping, but at least I found the point. |
@weizenberg Thanks for the PR. i'm trying to work with it but when the package name is incorrect it fails with a nasty error for example
in the past it was returning an error of app not found 404. |
I used this pr but the gplay.list() returns [], anyone know how to deal with it? |
Hey folks, Thank you for reviewing the commit. Anyway, I see someone here developed a tool that helps to map the results into the arrays, you can try to find it and make use of it to solve the issues. @ChayaGel Thank you mate! I also got this specific issue but couldn't understand why! Now I know how to solve it, so thanks for that. PS - @ninjachen This fix is related only to the search method, not list method. |
When searching for terms like 'waze', the new Google UI presenting different page (ex: https://play.google.com/store/search?q=waze&c=apps) with 'More results' section. This commit solved this issue by looking for more results in case that 'normal' results not received. I build a generic method to look for the results data, because sometimes the path changed between the terms, this why I added tests for 'waze' and 'clash of clans' who returns different "More results" paths. I also fixed the batch query request data (which fetched manually) using a token and request data provided in 'data' directory.
Hey folks! Finally found some time to fix this issue. I am glad to share the fix with you. I assumed that the app array should be more than 100, but maybe we can adjust this later to ensure it will fit any future updates. Fill free to use this method in the other parts of the library as it will make it easier to find the arrays you looking for. |
Fixed token in case of 'normal' term
This new mapping is excellent, thanks |
gplay.list() method still returns an empty array |
Thank you, I added a check for the 'root' app type and added appropriate mapping. Check the recent commit.
As I mentioned before, this fix applies only to the search method. You're more than welcome to add the same mapping function to other methods as well. |
Closing this as it should be fixed by #557 |
Hello, Search works again, thanks ! However, why am I getting much less results than before ? Thanks |
No description provided.