vogler / free-games-claimer

Automatically claims free games on the Epic Games Store, Amazon Prime Gaming and GOG.
GNU Affero General Public License v3.0
2.39k stars 143 forks source link

Error when script clicks link #350

Open turpez opened 1 month ago

turpez commented 1 month ago

Free games: [ 'https://store.epicgames.com/en-US/p/olympics-go-paris-2024-pc-outfits-a48737', 'https://store.epicgames.com/en-US/p/fist-forged-in-shadow-torch' ] --- Exception: locator.innerText: Timeout 60000ms exceeded. Call log:

einfallsreichername commented 1 month ago

Same here, with Epic Games and also Prime Gaming

ceszkraft commented 1 month ago

I got the same error. Im running a container with this command: docker run --rm -p 6080:6080 -v fgc:/fgc/data --pull=always ghcr.io/vogler/free-games-claimer

Epic games error: Exception: locator.innerText: Timeout 60000ms exceeded. =========================== logs =========================== waiting for locator('xpath=//button[@data-testid="purchase-cta-button"][not(contains(.,"Loading"))]').first()

at /fgc/epic-games.js:144:124 {

name: 'TimeoutError' }

prime-gaming errror: Exception: TypeError: Cannot read properties of null (reading 'click') at file:///fgc/prime-gaming.js:116:54

gog error: Currently no free giveaway!

I checked and there is a game for free in gog but it always show this message: "Currently no free giveaway!"

Am I doing something wrong?

vogler commented 1 month ago

epic-games was fixed in https://github.com/vogler/free-games-claimer/commit/d9e91d22c9f01114f905b8edf6e7322bb56639be.

prime-gaming works for me.

gog there's currently no free giveaway.

I checked and there is a game for free in gog but it always show this message: "Currently no free giveaway!"

@ceszkraft Where?

ceszkraft commented 1 month ago

Should I update my image or something? I thought that command should update automatically

--pull=always.

I tried to claim a game on gog, the last one which was free but it shows no current giveaway.

I'll try to pull a new image and run a new container.

vogler commented 1 month ago

Yes, it should automatically pull the current version.

I tried to claim a game on gog, the last one which was free but it shows no current giveaway.

Ok, will have to see when there's the next one.