Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add preregister, earlyAccessEnabled, androidMaxVersion, originalPrice and discountEndDate properties #648

Merged
merged 28 commits into from
Aug 4, 2023

Conversation

jbigman
Copy link
Contributor

@jbigman jbigman commented Aug 3, 2023

Sales properties

  • originalPrice (When there is a discount)
  • discountEndDate (Language specific, looks like "Sales and in 2 days")

Was able to test it throug this list of games
PS : the original price is not always set, according to the language/country, the price could be discounted, but there is not data about the original price and the discount duration.

Pre registration properties

  • preregister
  • earlyAccessEnabled (For some games preregistration open early access preregistration)

Was able to test it throug this list of games

Assertion on types are added in the generic method but there is no specific tests because no game will forever return preregistration or sales.

Android version upper limit

  • androidMaxVersion Contains the max version if defined or VARY

@jbigman jbigman changed the title Add properties Add preregister, earlyAccessEnabled, androidMaxVersion, originalPrice and discountEndDate properties Aug 3, 2023
@facundoolano
Copy link
Owner

code looks good to me, but there seems to be a test failure (not related to throttling). I suppose it's not related to the changes in here either, but do you know why it fails?

https://github.com/facundoolano/google-play-scraper/actions/runs/5753111555/job/15595602135?pr=648#step:6:117

@jbigman
Copy link
Contributor Author

jbigman commented Aug 3, 2023

Doing a netflix search does not return the exact same result between requests.
The same kind of fail was also raised time to time in the gmail search assertions.

I fixed both tests in the throttle fix PR #649

@facundoolano
Copy link
Owner

ok I'll wait for the tests ones to be finished and merged and then I'll get back to merging this one

@facundoolano
Copy link
Owner

Please pull from main so we get tests passing here as well

@facundoolano facundoolano merged commit 0761984 into facundoolano:main Aug 4, 2023
3 checks passed
@jbigman jbigman deleted the add-properties branch August 7, 2023 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants