fix: add amazon-nl, captcha amazon-de, add ftw3 newegg (#293)

This commit is contained in:
George
2020-09-25 16:30:00 -07:00
committed by GitHub
parent 349f55d360
commit a2983eb54c
6 changed files with 54 additions and 2 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ EMAIL_USERNAME=""
EMAIL_PASSWORD=""
HEADLESS=""
IN_STOCK_WAIT_TIME=""
LOG_LEVEL=""
#LOG_LEVEL=""
MICROCENTER_LOCATION=""
OPEN_BROWSER=""
PAGE_TIMEOUT=""
+1
View File
@@ -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`|
+1 -1
View File
@@ -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',
+35
View File
@@ -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'
};
+2
View File
@@ -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],
+14
View File
@@ -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',