JoMingyu / google-play-scraper

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

[BUG] parse fault when country != "us", such as "hk", "in" #142

Closed doveppp closed 1 year ago

doveppp commented 2 years ago

google_play_scraper.VERSION Write result of google_play_scraper.VERSION

Describe the bug A description of what the bug is.

Code Copy and paste the code that have issue.

print(app(
    app_id='com.twitter.android',
    country='hk'
))

# output
{'title': None, 'description': None, 'descriptionHTML': None, 'summary': None, 'installs': None, 'minInstalls': None, 'realInstalls': None, 'score': None, 'ratings': None, 'reviews': None, 'histogram': [0, 0, 0, 0, 0], 'price': None, 'free': None, 'currency': None, 'sale': False, 'saleTime': None, 'originalPrice': None, 'saleText': None, 'offersIAP': False, 'inAppProductPrice': None, 'developer': None, 'developerId': None, 'developerEmail': None, 'developerWebsite': None, 'developerAddress': None, 'privacyPolicy': None, 'genre': None, 'genreId': None, 'icon': None, 'headerImage': None, 'screenshots': [], 'video': None, 'videoImage': None, 'contentRating': None, 'contentRatingDescription': None, 'adSupported': None, 'containsAds': False, 'released': None, 'updated': None, 'version': 'Varies with device', 'recentChanges': None, 'recentChangesHTML': None, 'comments': [], 'appId': 'com.twitter.android', 'url': 'https://play.google.com/store/apps/details?id=com.twitter.android&hl=en&gl=hk'}

Expected behavior A description of what you expected to happen.

Additional context Add any other context about the problem here.

JoMingyu commented 1 year ago

fill the version, please.