diff --git a/.env-example b/.env-example index 90143f5960..ae4f0a60f9 100644 --- a/.env-example +++ b/.env-example @@ -9,7 +9,7 @@ EMAIL_USERNAME="" EMAIL_PASSWORD="" HEADLESS="" IN_STOCK_WAIT_TIME="" -LOG_LEVEL="" +#LOG_LEVEL="" MICROCENTER_LOCATION="" OPEN_BROWSER="" PAGE_TIMEOUT="" diff --git a/README.md b/README.md index f0bb504521..055ed7b146 100644 --- a/README.md +++ b/README.md @@ -123,6 +123,7 @@ Here is a list of variables that you can use to customize your newly copied `.en | Amazon | `amazon`| | Amazon (CA) | `amazon-ca`| | Amazon (DE) | `amazon-de`| +| Amazon (NL) | `amazon-nl`| | ASUS | `asus` | | B&H | `bandh`| | Best Buy | `bestbuy`| diff --git a/src/store/model/amazon-de.ts b/src/store/model/amazon-de.ts index 83b5759d27..5c16d42f2e 100644 --- a/src/store/model/amazon-de.ts +++ b/src/store/model/amazon-de.ts @@ -4,7 +4,7 @@ export const AmazonDe: Store = { labels: { captcha: { container: 'body', - text: ['geben sie die unten angezeigten zeichen ein'] + text: ['geben sie die unten angezeigten zeichen ein', 'geben sie die zeichen unten ein'] }, inStock: { container: '#desktop_buybox', diff --git a/src/store/model/amazon-nl.ts b/src/store/model/amazon-nl.ts new file mode 100644 index 0000000000..0de9d8fb59 --- /dev/null +++ b/src/store/model/amazon-nl.ts @@ -0,0 +1,35 @@ +import {Store} from './store'; + +export const AmazonNl: Store = { + labels: { + captcha: { + container: 'body', + text: ['voer de karakters in die u hieronder ziet'] + }, + inStock: { + container: '#desktop_buybox', + text: ['in winkelwagen plaatsen'] + } + }, + links: [ + { + brand: 'test:brand', + model: 'test:model', + series: 'test:series', + url: 'https://www.amazon.com/dp/B07MQ36Z6L' + }, + { + brand: 'msi', + model: 'ventus', + series: '3080', + url: 'https://www.amazon.nl/3080-VENTUS-3X-10G-OC/dp/B08HM4M621' + }, + { + brand: 'msi', + model: 'gaming x trio', + series: '3080', + url: 'https://www.amazon.nl/3080-GAMING-TRIO-10G-grafische/dp/B08HM4V2DH' + } + ], + name: 'amazon-nl' +}; diff --git a/src/store/model/index.ts b/src/store/model/index.ts index 374e24bfe4..7d059ecb0c 100644 --- a/src/store/model/index.ts +++ b/src/store/model/index.ts @@ -2,6 +2,7 @@ import {Adorama} from './adorama'; import {Amazon} from './amazon'; import {AmazonCa} from './amazon-ca'; import {AmazonDe} from './amazon-de'; +import {AmazonNl} from './amazon-nl'; import {Asus} from './asus'; import {BAndH} from './bandh'; import {BestBuy} from './bestbuy'; @@ -24,6 +25,7 @@ const masterList = new Map([ [Amazon.name, Amazon], [AmazonCa.name, AmazonCa], [AmazonDe.name, AmazonDe], + [AmazonNl.name, AmazonNl], [Asus.name, Asus], [BAndH.name, BAndH], [BestBuy.name, BestBuy], diff --git a/src/store/model/newegg.ts b/src/store/model/newegg.ts index 06cbfd3b31..ba45e22d4e 100644 --- a/src/store/model/newegg.ts +++ b/src/store/model/newegg.ts @@ -25,6 +25,20 @@ export const Newegg: Store = { series: '3080', url: 'https://www.newegg.com/asus-geforce-rtx-3080-tuf-rtx3080-10g-gaming/p/N82E16814126453' }, + { + brand: 'evga', + cartUrl: 'https://secure.newegg.com/Shopping/AddtoCart.aspx?Submit=ADD&ItemList=N82E16814487518', + model: 'ftw3 ultra', + series: '3080', + url: 'https://www.newegg.com/evga-geforce-rtx-3080-10g-p5-3897-kr/p/N82E16814487518' + }, + { + brand: 'evga', + cartUrl: 'https://secure.newegg.com/Shopping/AddtoCart.aspx?Submit=ADD&ItemList=N82E16814487519', + model: 'ftw3', + series: '3080', + url: 'https://www.newegg.com/evga-geforce-rtx-3080-10g-p5-3895-kr/p/N82E16814487519' + }, { brand: 'evga', cartUrl: 'https://secure.newegg.com/Shopping/AddtoCart.aspx?Submit=ADD&ItemList=N82E16814487522',