Commit graph

361 commits

Author SHA1 Message Date
Ralf Vogler
a90062b631 gog: Claim (.*) and don't miss -> Claim (.*), fixes #60 2023-02-15 19:33:44 +01:00
Ralf Vogler
ec2d31ed79 remove unused NopeCHA extension 2023-02-15 10:06:52 +01:00
Ralf Vogler
c65f153090 remove not needed await 2023-02-15 10:06:52 +01:00
Ralf Vogler
c058bafcf3 remove migrateDb
comment: remove this after some time since it will run fine without and people can still use this commit to adjust their data/epic-games.json and data/prime-gaming.json
2023-02-15 10:06:52 +01:00
Ralf Vogler
af34113eaf
mention pm2 for restarting 2023-02-14 18:45:23 +01:00
Ralf Vogler
acbfa9156e pg: ignore empty login error message, fixes #58 2023-02-14 10:29:21 +01:00
Ralf Vogler
f873d95a89
Update README.md 2023-02-10 17:55:55 +01:00
Ralf Vogler
3ada6bbc23
Update README.md 2023-02-09 19:49:51 +01:00
Ralf Vogler
d3e4c58c80 gog: only unsubscribe from newsletter if a game was claimed? 2023-02-09 16:53:42 +01:00
Ralf Vogler
11a28f0c73 ncu -u updated lowdb, playwright 2023-02-09 16:48:23 +01:00
Ralf Vogler
dff712d998 skip prompt for password if email is missing 2023-02-09 16:28:27 +01:00
Ralf Vogler
65a389c3d9 docker: don't pin playwright, split: system deps + firefox after npm install
`npx playwright install --with-deps firefox` fails since package.json references 1.29 but current version is 1.30:
`browserType.launchPersistentContext: Executable doesn't exist at /root/.cache/ms-playwright/firefox-1369/firefox/firefox`

Need to either pin the version there or install the browser after `npm install` which will make it take into account the package.json version.
See https://github.com/microsoft/playwright/issues/13188, https://github.com/microsoft/playwright/issues/12835

Image size:

1. 1.12GB - `npx playwright install --with-deps firefox` -> fails due to wrong browser version
2. 1.12GB - `npx playwright@1.29 install --with-deps firefox` -> pinning version works, but need to also update Dockerfile when updating package.json
3. 920MB - `npx playwright install-deps firefox` -> fails, system deps only, no browser
4. 1.12GB - 3. + `npx install firefox` after `npm install` -> works, no pinning needed, system deps stuff is cleaned up with the rest of the apt installs; breaks if system deps change...
2023-02-05 23:33:45 +01:00
Ralf Vogler
b9e9abe546 page.waitForNavigation -> page.waitForURL 2023-02-04 21:37:04 +01:00
Ralf Vogler
eb17a49628 extract prompt into util.js 2023-02-03 16:03:01 +01:00
Ralf Vogler
21a4e06209 gog: check for reCAPTCHA on login; better info for eg 2023-01-29 20:27:05 +01:00
Ralf Vogler
0393a3998b info about escaping prompts only if needed 2023-01-29 19:52:18 +01:00
Ralf Vogler
d4bf4a7af0 gog: wait for username after login, barrier before, fixes #53 2023-01-29 19:40:44 +01:00
Ralf Vogler
c5b0065a50 TypeError: String includes not contains, #53; only first line of error 2023-01-29 19:28:02 +01:00
Ralf Vogler
d7e5cc4a3a
Update README.md 2023-01-28 20:36:33 +01:00
Ralf Vogler
c9cefcb7e1
Update README.md 2023-01-28 20:35:10 +01:00
Ralf Vogler
9e0effa8c0
Update README.md 2023-01-28 20:33:21 +01:00
Ralf Vogler
0c2834eb5e
readme: add --pull=always to docker run, #51 2023-01-28 19:55:22 +01:00
Ralf Vogler
88b4dcfcac also run node gog by default, closes #52 2023-01-28 13:14:42 +01:00
Ralf Vogler
98dff72888 eg: notify: set status existed correctly, fixes #50 2023-01-28 10:26:27 +01:00
Ralf Vogler
01acfc2311 docker: pin playwright version since we install it before npm i
https://github.com/microsoft/playwright/issues/13188
2023-01-27 10:11:26 +01:00
Ralf Vogler
72a61458fc notify: escapeHtml for titles 2023-01-25 20:56:35 +01:00
Ralf Vogler
f8932af2a1
Screenshot sample Telegram notifications 2023-01-25 20:44:30 +01:00
Ralf Vogler
9355ff3e01 notify: forgot to join list, gets rid of commas 2023-01-25 19:35:18 +01:00
Ralf Vogler
0913ca3da7 pg: exit on login error 2023-01-25 19:26:34 +01:00
Ralf Vogler
af46be3a52
Merge pull request #49 from vogler/notifications/apprise
Notifications via apprise
2023-01-25 19:03:12 +01:00
Ralf Vogler
13e6f05cd0 pg: notify about games and login 2023-01-25 18:54:23 +01:00
Ralf Vogler
95b703efb1 gog: notify about games and login 2023-01-25 18:29:06 +01:00
Ralf Vogler
109423925e eg: notify about games and login 2023-01-25 17:50:26 +01:00
Ralf Vogler
2f0961b1b3 NOTIFY to set notification services 2023-01-25 17:50:26 +01:00
Ralf Vogler
e57c2c4408 docker: pip install apprise; 1.09GB -> 1.11GB 2023-01-25 17:50:26 +01:00
Ralf Vogler
cecc54082f
eg: title now in span instead of div 2023-01-25 17:45:50 +01:00
Ralf Vogler
3b1b900d77 pg: TODO check for wrong credentials 2023-01-25 16:38:56 +01:00
Ralf Vogler
0e7e7b08f3
add some logos 2023-01-25 15:32:37 +01:00
Ralf Vogler
fafd1ad6bf comment: no gog_otp 2023-01-23 14:59:59 +01:00
Ralf Vogler
46a5928d01
Update README.md 2023-01-23 14:48:29 +01:00
Ralf Vogler
7196a26070
Merge pull request #48 from vogler/eg-unavailable-region
eg: skip if "This product is currently unavailable in your region"
2023-01-23 14:46:36 +01:00
Ralf Vogler
8139c0a78f gog: save metadata, screenshot, closes #18 2023-01-23 14:45:29 +01:00
Ralf Vogler
c09da8eec6 eg: simpler check if game is unavailable in region 2023-01-19 12:29:20 +01:00
Ralf Vogler
4055ec44c7 fix for #46: "This product is currently unavailable in your region" 2023-01-19 01:26:27 +01:00
Ralf Vogler
351670f426 eg: TODO locator for 2FA text (email or app?) 2023-01-19 00:57:56 +01:00
Ralf Vogler
5babbb6bc1
Update README.md 2023-01-13 18:03:29 +01:00
Ralf Vogler
f2df47f13e
Update README.md 2023-01-13 18:02:35 +01:00
Ralf Vogler
78a14569c8
Update README.md 2023-01-13 17:51:32 +01:00
Ralf Vogler
7922044a60
Update README.md 2023-01-12 21:58:59 +01:00
Ralf Vogler
db5b2e7607
Update README.md 2023-01-12 21:40:17 +01:00