gog: fix #200, uncheck 'Marketing communications through Trusted Partners'
This commit is contained in:
parent
e30216c9b8
commit
d51f7310d9
1 changed files with 1 additions and 0 deletions
1
gog.js
1
gog.js
|
|
@ -130,6 +130,7 @@ try {
|
|||
if (status == 'claimed' && !cfg.gog_newsletter) {
|
||||
console.log("Unsubscribe from 'Promotions and hot deals' newsletter");
|
||||
await page.goto('https://www.gog.com/en/account/settings/subscriptions');
|
||||
await page.locator('li:has-text("Marketing communications through Trusted Partners") label').uncheck();
|
||||
await page.locator('li:has-text("Promotions and hot deals") label').uncheck();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue