baltpeter / parse-play Goto Github PK
View Code? Open in Web Editor NEWLibrary for fetching and parsing select data on Android apps from the Google Play Store via undocumented internal APIs.
License: MIT License
Library for fetching and parsing select data on Android apps from the Google Play Store via undocumented internal APIs.
License: MIT License
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]]
For the tweasel platform, we'll need to be able to search for apps.
Now it's possible to take only 200 pos from the top. Maybe you know solutions to take 660 like before?
Whereas previously the top charts would have up to 660 entries, I'm now only getting 200 apps per category. It seems like the server-side limit has changed.
We should check whether that's something we can influence through the request or whether we'll have to accept that (and update the documentation accordingly).
In parse-tunes, we got app details/metadata for free along with the privacy labels, but here that is a separate endpoint.
I'm getting an error when trying to run this:
"Error [ERR_REQUIRE_ESM]: require() of ES Module...not supported."
According to Stack Overflow, node-fetch v3 removed support for require() in favor of ES Modules.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.