claabs / epicgames-freegames-node

Automatically login and find available free games the Epic Games Store. Sends you a prepopulated checkout link so you can complete the checkout after logging in. Supports multiple accounts, login sessions, and scheduled runs.
https://hub.docker.com/r/charlocharlie/epicgames-freegames
MIT License
1.39k stars 93 forks source link

By pass some purchasableGames that unavailable in user account country #269

Closed carlmaxx97 closed 2 years ago

carlmaxx97 commented 2 years ago

Describe the issue In this week, there have 3 game available

purchasableGames: [ "Knockout City™ Cross-Play Beta", "Shadow of the Tomb Raider: Definitive Edition", "Submerged: Hidden Depths" ]

but in my account country, Knockout City™ Cross-Play Beta is unavailable in my country, but my docker is setup in different country. After enter the captcha, it show the message as shown in below.

Screenshots or Logs image

Additional context Maybe the purchasableGames can be filter based on the user account contry to split the unavailable games or can bypass the unavailable game to continue with second one. Thank you

claabs commented 2 years ago

I literally just fixed these lol

carlmaxx97 commented 2 years ago

Nice Work, claabs!!

sviperz commented 1 year ago

Is it still working? I put the following in the config and restarted:

"countryCode:": "BY"

but still getting "This product is currently unavailable in your region." message. And my region is definitely BY:

image

mgrimace commented 11 months ago

I

Is it still working? I put the following in the config and restarted:

"countryCode:": "BY"

but still getting "This product is currently unavailable in your region." message. And my region is definitely BY:

image

Any luck? I tried adding it to the docker compose as:

    environment:
      - COUNTRY_CODE=CA

Then, when that didn't work I added it to the config. I don't know .json syntax very well, so I added it as:

{
  "runOnStartup": true,
  "cronSchedule": "0 0,6,12,18 * * *",
  "countryCode": "CA",
  "logLevel": "info",
  "webPortalConfig": { 
[the rest redacted]

And I'm still getting a notification to purchase the a demo that is unavailable in my region:

Screen Shot 2023-12-07 at 7 11 07 PM
sviperz commented 10 months ago

Is it still working? I put the following in the config and restarted:

"countryCode:": "BY"

but still getting "This product is currently unavailable in your region." message. And my region is definitely BY:

image

@claabs any updates? Should it work or is it broken?

claabs commented 10 months ago

@sviperz See #346 for a temporary solution

sviperz commented 10 months ago

@sviperz See #346 for a temporary solution

Did it, but it doesn't work for some reason:

image