facundoolano / google-play-scraper

Node.js scraper to get data from Google Play
MIT License
2.28k stars 624 forks source link

app interface #377

Open chenfeifan opened 4 years ago

chenfeifan commented 4 years ago

Description:

I found a PKG that could not be obtained using the package

Example code:

// it failed
g.app({appId: "com.budgestudios.googleplay.ThomasAndFriendsMinis", lang: "en", country: "us"}).then(console.log)
// it was successful
https://play.google.com/store/apps/details?id=com.budgestudios.googleplay.ThomasAndFriendsMinis&hl=en&gl=us

Error message:

it can't find the PKG
yurganov commented 4 years ago

Works for me

let data = {
        appId : 'com.budgestudios.googleplay.ThomasAndFriendsMinis',
        country : "us",
        lang : "en",
    };

    gplay.app(data)
        .then(
            result => {
                console.log(result);
            }
        )

BTW, «it can't find the PKG» is not error from this package.

Please, provide whole code.

jbigman commented 11 months ago

Can't reproduce, should be closed.