JoMingyu / google-play-scraper

Google play scraper for Python inspired by <facundoolano/google-play-scraper>
MIT License
722 stars 197 forks source link

fix: app description mapping always localized; #175

Closed alexoleynik0 closed 1 year ago

alexoleynik0 commented 1 year ago

This is basically the copy of #623 PR I did for the Facundo's repo.

The problem in example:

result = app(
    'ua.krou.maze',
    lang='uk',
    country='UA'
)

has returned description and descriptionHTML in English, even though GP has its translated verstion there -- https://play.google.com/store/apps/details?id=ua.krou.maze&hl=uk&gl=UA

Solution: check for the translated version with a fallback to the original one.

Note: I have tried to do the same localization for the search but without success yet.

JoMingyu commented 1 year ago

Thanks to your contribution with #176. I'll release it ASAP.

JoMingyu commented 1 year ago

It released at version 1.2.4.