google-play-scraper icon indicating copy to clipboard operation
google-play-scraper copied to clipboard

Suggested feature: allow "machine default" country / lang through an options parameter

Open icarcal opened this issue 4 years ago • 2 comments

Description:

As suggested here, remove the hl and gl from request url in a method call through an option parameter

Why?

Some apps are not published in the us, but are accessible through common gplay url

Requirements

  • Default behaviour in methods should not change (all methods must still use us as country and en as language), if this option is not present

  • This option needs to be respected in all method calls

icarcal avatar May 23 '20 22:05 icarcal

Any news to this request. It is important to have the option to remove hl and gl from request url in order to be able to find apps only available to a specific country without requiring from user to specify a country.

This is a very easy fix in code as we've seen.

Can you please arrange this change ?

Regards, Mike

mnikitas avatar Jan 18 '21 10:01 mnikitas

I'd be ok with such an option, such as passing explicitly country: undefined / lang: undefined in the options.

I don't have time planned for making changes to the library, but I can review and merge if someone sends the PR.

facundoolano avatar Jan 18 '21 16:01 facundoolano