Coder Social home page Coder Social logo

baltpeter / parse-play Goto Github PK

View Code? Open in Web Editor NEW
26.0 26.0 2.0 144 KB

Library for fetching and parsing select data on Android apps from the Google Play Store via undocumented internal APIs.

License: MIT License

TypeScript 100.00%
android batchexecute google-play-store mobile-privacy

parse-play's People

Contributors

baltpeter avatar mal-tee avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

parse-play's Issues

Search suggestions

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

Searching

For the tweasel platform, we'll need to be able to search for apps.

Only 200 positions?

Now it's possible to take only 200 pos from the top. Maybe you know solutions to take 660 like before?

Top charts: Server-side limit seems to have changed

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).

App details

In parse-tunes, we got app details/metadata for free along with the privacy labels, but here that is a separate endpoint.

"require() of ES Module not supported"

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.