Closed ManuelBanza closed 4 years ago
I'm sorry for inconvenience :(
Can you please give me app_id
you used? It helps my debugging.
hi @JoMingyu thank you so much!
I am using portuguese apps, some examples:
Once again thank you for the help and congrats for this super helpfull library :)
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.
Hi @ManuelBanza .
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_id
s I delivered.
Here is what I tested:
count
as 10000, actually 10000 reviews are fetched.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.
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.
I'll close this issue because it seems to be solved. If any additional problems occurred, reopen this issue or open new issue.
Hi,
I need some help with extracting reviews from an app.
I have 2 problems:
result, _ = reviews( '',
)`
`result, continuation_token = reviews( '',
lang='pt'
country='pt'
sort=Sort.NEWEST
count=1500
)
result, _ = reviews( '',
continuation_token=continuation_token # defaults to None(load from the beginning)
)`
Am I doing something wrong? Call you help? Thanks!