Skip to content
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

Search suggestions #10

Open
baltpeter opened this issue May 17, 2024 · 0 comments
Open

Search suggestions #10

baltpeter opened this issue May 17, 2024 · 0 comments
Labels
feature New feature or request

Comments

@baltpeter
Copy link
Owner

I'm not going to implement this not, but it would be nice to have support for getting search suggestions.

Here's the corresponding request from the website:

await fetch("https://play.google.com/_/PlayStoreUi/data/batchexecute?rpcids=teXCtc&source-path=%2Fstore%2Fapps&f.sid=9122600153491381881&bl=boq_playuiserver_20240515.05_p0&hl=en-US&authuser&soc-app=121&soc-platform=1&soc-device=1&_reqid=956358&rt=c", {
    "credentials": "include",
    "headers": {
        "User-Agent": "Mozilla/5.0 (Windows NT 10.0; rv:126.0) Gecko/20100101 Firefox/126.0",
        "Accept": "*/*",
        "Accept-Language": "en-US,en;q=0.7,de;q=0.3",
        "X-Same-Domain": "1",
        "Content-Type": "application/x-www-form-urlencoded;charset=utf-8",
        "Sec-GPC": "1",
        "Sec-Fetch-Dest": "empty",
        "Sec-Fetch-Mode": "cors",
        "Sec-Fetch-Site": "same-origin"
    },
    "referrer": "https://play.google.com/",
    "body": "f.req=%5B%5B%5B%22teXCtc%22%2C%22%5Bnull%2C%5B%5C%22facebook%5C%22%5D%2C%5B10%5D%2C%5B2%2C1%5D%2C4%5D%22%2Cnull%2C%22generic%22%5D%5D%5D&",
    "method": "POST",
    "mode": "cors"
});

Response:

)]}'

923
[["wrb.fr","teXCtc","[[[\"facebook\",null,[null,null,null,null,[null,null,\"/store/search?q\\u003dfacebook\\u0026c\\u003dapps\"]],null,null,[\"CCO6AgQIARAA\"]],[\"facebook lite\",null,[null,null,null,null,[null,null,\"/store/search?q\\u003dfacebook+lite\\u0026c\\u003dapps\"]],null,null,[\"CCO6AgQIARAA\"]],[\"facebook messenger\",null,[null,null,null,null,[null,null,\"/store/search?q\\u003dfacebook+messenger\\u0026c\\u003dapps\"]],null,null,[\"CCO6AgQIARAA\"]],[\"facebook video downloader\",null,[null,null,null,null,[null,null,\"/store/search?q\\u003dfacebook+video+downloader\\u0026c\\u003dapps\"]],null,null,[\"CCO6AgQIARAA\"]],[\"facebook whatsapp\",null,[null,null,null,null,[null,null,\"/store/search?q\\u003dfacebook+whatsapp\\u0026c\\u003dapps\"]],null,null,[\"CCO6AgQIARAA\"]]],[\"CAhKAggD\"],[[null,[[172800],null,[604800]]]]]",null,null,null,"generic"],["di",28],["af.httprm",27,"-7204844960192752240",99]]
25
[["e",4,null,null,959]]

image

@baltpeter baltpeter added the feature New feature or request label May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant