Ralf Vogler
930b7b5256
prime-gaming: removing Headless from userAgent not required, works headless
2022-03-31 19:56:02 +02:00
Ralf Vogler
fd56cac06b
prime-gaming: only print code to redeem game for Origin
2022-03-31 19:55:19 +02:00
Ralf Vogler
a707acf1b8
prime-gaming: click Games since now only placeholders until in view
2022-03-31 19:43:07 +02:00
Ralf Vogler
f0bf3c1671
prime-gaming: fix wait for sign in, exit if not, arg show otherwise headless
2022-03-31 19:41:42 +02:00
Trung Le
a8c578bd93
feat: dockerize, fix sign in loop
2022-03-31 03:06:01 +07:00
Ralf Vogler
3b3289dddf
upgrade to ES6 modules and top-level await, add jsconfig.json with es2022
...
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import
https://code.visualstudio.com/docs/languages/jsconfig
2022-02-24 18:27:25 +01:00
Ralf Vogler
9bb548dc3e
pull out stealth into util
2022-02-24 17:32:32 +01:00
Ralf Vogler
bd61963fc2
stealth evasions don't need new, ts complained about type
2022-02-24 17:27:42 +01:00
Ralf Vogler
fe7e3d189d
don't log 'Device not supported'
2022-02-24 16:52:50 +01:00
Ralf Vogler
4fc7d65b9b
pull up try, #7
2022-02-24 16:46:15 +01:00
Ralf Vogler
59a5f529d8
'I Agree' button only for EU accounts, closes #7
2022-02-17 17:06:05 +01:00
Ralf Vogler
9b70e9e0dc
only install chromium instead of also firefox & webkit
2022-02-15 10:36:03 +01:00
Ralf Vogler
d1aad10fac
fix locale to en-US
...
epic-games otherwise uses OS locale for text:
https://github.com/vogler/free-games-claimer/pull/7
2022-02-12 19:54:09 +01:00
Ralf Vogler
8aa0a5229a
link issue redeem keys on external stores for prime-gaming
2022-02-03 12:54:36 +01:00
Ralf Vogler
344770f926
GOG keys should be printed
2022-02-03 12:22:37 +01:00
Ralf Vogler
03140f764c
info on how to run periodically
2022-02-03 12:11:11 +01:00
Ralf Vogler
2e08c41933
prime-gaming: clearer log of number of (un)claimed games
2022-02-02 13:53:34 +01:00
Ralf Vogler
1628b16aea
prime-gaming: gog: code: first input is hidden, check for text
2022-02-02 13:42:39 +01:00
Ralf Vogler
e513a76a22
Update README.md
2022-02-02 13:29:19 +01:00
Ralf Vogler
9ac269a396
try Chrome flags --disable-session-crashed-bubble, --restore-last-session
...
https://superuser.com/questions/1343290/disable-chrome-session-restore-popup
2022-02-02 13:07:24 +01:00
Ralf Vogler
3766754a5f
epic-games: catch timeout and save screenshot of hcaptcha
2022-02-02 12:53:12 +01:00
Ralf Vogler
b078398e48
Merge pull request #4 from XEGARE/main
...
userDataDir path needs to be absolute on Windows
2022-01-31 20:10:51 +01:00
XEGARE
6b55c2b9d4
Fix path for macOS
2022-01-31 23:11:36 +05:00
XEGARE
a231476d3a
Changing the path to absolute
2022-01-26 12:05:01 +05:00
Ralf Vogler
35423d6eef
epic-games: don't pause after claimed successfully
2022-01-20 20:17:17 +01:00
Ralf Vogler
38b074384d
rename repo epicgames-claimer -> free-games-claimer, cleanup, comments
2022-01-20 20:13:58 +01:00
Ralf Vogler
dc6414129b
Prime Gaming: Origin shows key, Epic Games is claimed directly
2022-01-13 20:38:55 +01:00
Ralf Vogler
747a2a5621
claimer for Amazon Prime Gaming (no ext stores)
2022-01-13 20:04:13 +01:00
Ralf Vogler
349aec8deb
comment anti-captcha.com as alternative to 2captcha.com
2022-01-10 12:00:39 +01:00
Ralf Vogler
fd3f947223
debug output
2022-01-06 17:26:24 +01:00
Ralf Vogler
2b1f63582c
comment: need to update userAgent?
2022-01-02 19:54:29 +01:00
Ralf Vogler
e2c2f97114
check 'signed in' in loop
2022-01-02 19:52:03 +01:00
Ralf Vogler
0e19708503
typo
2022-01-02 19:50:49 +01:00
Ralf Vogler
e34a5fed60
use launchPersistentContext instead of storageState, works in headful now, support multiple games
2021-12-31 02:49:26 +01:00
Ralf Vogler
db1b61d797
old.stealth.js with Continue on mature content works?!
...
This is main.stealth.js from commit 64d0ba8ce7
plus name of the current game and Continue on mature content.
Why does this work and the current main.stealth.js gets the hcaptcha?
2021-12-29 20:12:29 +01:00
Ralf Vogler
975e1c05ed
wait for Continue 'Device not supported' or iframe
2021-12-29 20:08:52 +01:00
Ralf Vogler
93464ace82
click Continue if 'This game contains mature content' or 'Device not supported'
2021-12-29 18:27:37 +01:00
Ralf Vogler
96432884b3
stealth was not working due to removed new before require?
...
HEAD was showing hcaptcha while commit 64d0ba8ce7 claimed successfully without one.
Only relevant diff seems to be the removed `new` about which ts-check complained and which is also missing in
the example in https://github.com/berstend/puppeteer-extra/tree/master/packages/puppeteer-extra-plugin-stealth/evasions .
2021-12-28 21:32:58 +01:00
Ralf Vogler
81b04f6f2f
npm login -> npm run login
2021-12-28 20:59:53 +01:00
Ralf Vogler
0394dc3f94
exit on hcaptcha
2021-12-28 20:16:00 +01:00
Ralf Vogler
3facdd8665
only fix userAgent in headless mode
2021-12-28 19:47:47 +01:00
Ralf Vogler
a3a727a829
list all evasions of stealth plugin
2021-12-28 19:33:07 +01:00
Ralf Vogler
60dbf3f8a6
close dummyContext for userAgent
2021-12-28 19:20:54 +01:00
Ralf Vogler
1fc4ee761d
use PWDEBUG=1 to debug instead which also opens Playwright Inspector
2021-12-28 19:12:29 +01:00
Ralf Vogler
6de35e00ef
add --debug flag
2021-12-28 18:59:43 +01:00
Ralf Vogler
a8e8354bf7
check if logged in
2021-12-28 18:38:49 +01:00
Ralf Vogler
83a4b064bd
annotate context type, defaultTimeout 30s -> 10s
2021-12-28 18:26:27 +01:00
Ralf Vogler
567365e46c
pull out contextOptions
2021-12-28 18:15:31 +01:00
Ralf Vogler
42b2b384e3
mention which browser binaries are placed where
2021-12-28 18:13:20 +01:00
Ralf Vogler
481253a12f
pull out newStealthContext
2021-12-28 17:54:18 +01:00