Comments (9)
I have the same issue. Seems to be a race. When stepping through with PWDEBUG=1 node epic-games
there is no problem.
Strange thing is that it finds the two elements to click on but then the click somehow makes it navigate to a 404 page.
from free-games-claimer.
Should be fixed for now, but not a great solution.
As the commit says, should wait for some element/attribute/event instead.
Maybe there's JS that has to attach event listeners first.
from free-games-claimer.
Apparently it's not time-related after all. Even with networkidle
and waitForTimeout(2000)
it sometimes (but rarely) got into this situation.
from free-games-claimer.
thanks for your feedback.
im on commit cbe789b (HEAD -> main, origin/main, origin/HEAD)
but i get the same error.
userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.83 Safari/537.36
Signed in.
Number of free games: 2
locator.innerText: Timeout 20000ms exceeded.
=========================== logs ===========================
waiting for selector "//button[@data-testid="purchase-cta-button"][not(contains(.,"Loading"))] >> nth=0"
============================================================
at file:///fgc/epic-games.js:71:124 {
name: 'TimeoutError'
}
from free-games-claimer.
thanks for your change.
im on commit 1dc3b3d (HEAD -> main, origin/main, origin/HEAD)
get a new error:
userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.83 Safari/537.36
Signed in.
Number of free games: 2
Current free game: ARK: Survival Evolved
Already in library! Nothing to claim.
Current free game: Gloomhaven
Not in library yet! Click GET.
page.waitForSelector: Timeout 20000ms exceeded.
=========================== logs ===========================
waiting for selector "text=Thank you for buying" to be visible
============================================================
at file:///fgc/epic-games.js:115:20 {
name: 'TimeoutError'
}
Saved a screenshot of hcaptcha challenge to /fgc/data/screenshots/epic-games/2022-09-23 06.17.11.360.png
Got hcaptcha challenge. To avoid it, get a link from https://www.hcaptcha.com/accessibility
from free-games-claimer.
Did you check if you got a hcaptcha challenge?
I think they got more aggressive. While testing a couple of times in a row it also showed me a captcha and I had to get a fresh IP to avoid it.
from free-games-claimer.
okay i see there was a hcaptcha challenge.
okay i will check it next week again ^^
from free-games-claimer.
Ok, with 69d771b I just had the case where the printed urlSlug was correct, but the click resulted in a 404. I'll change the code to just visit those links then instead of clicking.
from free-games-claimer.
Should be fixed by edb90fe. Please reopen if you still encounter the issue after updating.
from free-games-claimer.
Related Issues (20)
- v1.6 Docker Image HOT 3
- Incorrect response on Login in epic-store HOT 8
- Notification specified in .env file not working HOT 5
- Issue with automated log in
- epicgames captcha not working HOT 14
- apprise windows error HOT 1
- epic-games captch HOT 7
- Add an option to sign out
- Inquire about Available options/variables and their default values:
- Prime gaming error HOT 2
- Change on epic? HOT 3
- Container starts for 5 sec then stops without explanation HOT 2
- probleme instalation HOT 2
- Epic Games and Unreal Engine login not working HOT 1
- Count DLC
- if epig games otp key isnt null check other auth ways on 2fa HOT 2
- How to run "SHOW=1 node epic-games" on a Windows CMD HOT 3
- pg: redeem Xbox games via Microsoft Store HOT 4
- Epic-Games: login: failed: page.fill: Timeout 180000ms exceeded. HOT 4
- eg: failed to get title for bundle HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from free-games-claimer.