facundoolano / google-play-scraper

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

App details get 404 #468

Closed chickito closed 2 years ago

chickito commented 3 years ago

Description:

Some applications detail get a 404 : I tested "fr.pmu.poker", "fr.pmu.sports", "com.winamax.winajs", "fr.unibet.sport", "sport.android.betclic.fr", "fr.fdj.enligne", "fr.zebet.zebet", "com.pyrsoftware.pokerstars.fr" => all apps with poker or bet services and PEGI-18 => but dating services like "com.tinder", PEGI-18 too, are not concerned.

That said, a direct cURL gives the same 404. But an Advanced REST Client, or a Chrome/FireFox/Edge/Safari request works like a charm : header issues?

Thx.

Example code:

var gplay = require('google-play-scraper');

gplay.app({appId: 'fr.pmu.poker'}).then(console.log, console.log);

Error message:

App not found (404)
facundoolano commented 3 years ago

Can you try passing the country parameter explicitly? Some apps are not available in all countries, and by default this package assumes the 'us' country code.