Closed cheburashka5 closed 5 months ago
@JoMingyu, could you take a look please?
i tried as following: reviews_list, continuation_token = reviews( . . . sort=2, # defaults to Sort.NEWEST count=5, # defaults to 100
)
replace the enum with number,and it works for me 1 for most relevant ,2 for newest,3 for rating
@Meihb Nice work. I'll include it in the next release.
It fixed at v1.2.6. Check it out!
Library version 1.2.4
Describe the bug Sort.NEWEST returns the same items as Sort.MOST_RELEVANT. They are both the MOST_RELEVANT items.
Code from google_play_scraper import Sort, reviews
result = reviews( 'com.google.android.youtube', lang='en', # defaults to 'en' country='us', # defaults to 'us' sort=Sort.NEWEST, # defaults to Sort.NEWEST count=10, # defaults to 100 )
print(result)
has identical items to
from google_play_scraper import Sort, reviews
result = reviews( 'com.google.android.youtube', lang='en', # defaults to 'en' country='us', # defaults to 'us' sort=Sort.MOST_RELEVANT, # defaults to Sort.NEWEST count=10, # defaults to 100 )
Expected behavior Sort.NEWEST should return the newest returns, not the most relevant.