Open baltpeter opened 2 months ago
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]]
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:
Response: