Giter Club home page Giter Club logo

Comments (5)

JoMingyu avatar JoMingyu commented on July 3, 2024

I'm sorry for inconvenience :(
Can you please give me app_id you used? It helps my debugging.

from google-play-scraper.

ManuelBanza avatar ManuelBanza commented on July 3, 2024

hi @JoMingyu thank you so much!

I am using portuguese apps, some examples:

  • cgd.pt.caixadirectaparticulares
  • pt.nos.selfcare
  • eu.hboportugal.android

Once again thank you for the help and congrats for this super helpfull library :)

from google-play-scraper.

JoMingyu avatar JoMingyu commented on July 3, 2024

I am checking. Sorry for being late. I will release the updated version to at least 2020-05-31 20:00:00 KST or comment on the issue.

from google-play-scraper.

JoMingyu avatar JoMingyu commented on July 3, 2024

Hi @ManuelBanza .

TL;DR : It seems like non-issue.

I was able to reproduce the problem in the process of loading a review of an app that corresponds to 'pt.nos.selfcare' among the app_ids I delivered.

Here is what I tested:

  1. When the function is called with count as 10000, actually 10000 reviews are fetched.
  2. After removing duplicates based on reviewId in each item of this result, there are 10000 review items.

The following is the code I wrote for testing.

from google_play_scraper import reviews, Sort

for app_id in (
    "cgd.pt.caixadirectaparticulares",
    "pt.nos.selfcare",
    "eu.hboportugal.android",
):
    result, continuation_token = reviews(
        app_id, lang="pt", country="pt", sort=Sort.NEWEST, count=10000,
    )

    assert len(result) == 10000
    assert len(set([r["reviewId"] for r in result])) == 10000

When app_id was set to 'pt.nos.selfcare', AssertionError occurred, and the total number of reviews retrieved was 4314.

In fact, if you look at the information of the app in the Play Store, you can see that about 15,000 reviews are reflected in the star rating as shown in the following picture.

스크린샷 2020-05-29 오후 8 19 36

So I learned about the review function of the Play Store, and realized leaving content in the review was optional. Reviews without content (with stars only) are not shown in the review list. Therefore, it is because only 4314 reviews were loaded, since only the stars were excluded.

Therefore, this problem does not appear to be a library issue. I may have misunderstood your problem, so if so please tag me by attaching the problem code and expected result and actual result to the issue comment.

from google-play-scraper.

JoMingyu avatar JoMingyu commented on July 3, 2024

I'll close this issue because it seems to be solved. If any additional problems occurred, reopen this issue or open new issue.

from google-play-scraper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.