mirror of
https://github.com/opelly27/streetmerchant.git
synced 2026-05-20 15:47:35 +00:00
feat: card series filter, fix: newegg oosLabels (#120)
This commit is contained in:
@@ -2,11 +2,10 @@ import {Link} from '../store/model';
|
||||
import {sendNotification} from '../notification';
|
||||
|
||||
const link: Link = {
|
||||
series: 'debug',
|
||||
brand: 'brand',
|
||||
cartUrl: 'http://example.com/',
|
||||
captchaLabels: ['captcha'],
|
||||
model: 'model',
|
||||
oosLabels: ['out of stock'],
|
||||
url: 'http://example.com/'
|
||||
};
|
||||
|
||||
|
||||
@@ -59,6 +59,7 @@ const page = {
|
||||
};
|
||||
|
||||
const store = {
|
||||
showOnlySeries: process.env.SHOW_ONLY_SERIES ? process.env.SHOW_ONLY_SERIES.split(',') : ['3070', '3080', '3090'],
|
||||
showOnlyBrands: process.env.SHOW_ONLY_BRANDS ? process.env.SHOW_ONLY_BRANDS.split(',') : [],
|
||||
stores: process.env.STORES ? process.env.STORES.split(',') : ['nvidia']
|
||||
};
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
/**
|
||||
* Checks if DOM has any out-of-stock related text.
|
||||
* Checks if DOM has any related text.
|
||||
*
|
||||
* @param domText Complete DOM of website.
|
||||
* @param oosLabels Out-of-stock labels.
|
||||
* @param searchLabels Search labels for a match.
|
||||
*/
|
||||
export function includesLabels(domText: string, oosLabels: string[]): boolean {
|
||||
export function includesLabels(domText: string, searchLabels: string[]): boolean {
|
||||
const domTextLowerCase = domText.toLowerCase();
|
||||
return oosLabels.some(label => domTextLowerCase.includes(label));
|
||||
return searchLabels.some(label => domTextLowerCase.includes(label));
|
||||
}
|
||||
|
||||
+21
-4
@@ -20,6 +20,19 @@ function filterBrand(brand: string) {
|
||||
return Config.store.showOnlyBrands.includes(brand);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if the series should be checked for stock
|
||||
*
|
||||
* @param series The series of the GPU
|
||||
*/
|
||||
function filterSeries(series: string) {
|
||||
if (Config.store.showOnlySeries.length === 0) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return Config.store.showOnlySeries.includes(series);
|
||||
}
|
||||
|
||||
/**
|
||||
* Responsible for looking up information about a each product within
|
||||
* a `Store`. It's important that we ignore `no-await-in-loop` here
|
||||
@@ -28,8 +41,12 @@ function filterBrand(brand: string) {
|
||||
* @param store Vendor of graphics cards.
|
||||
*/
|
||||
async function lookup(browser: Browser, store: Store) {
|
||||
/* eslint-disable no-await-in-loop */
|
||||
/* eslint-disable no-await-in-loop */
|
||||
for (const link of store.links) {
|
||||
if (!filterSeries(link.series)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!filterBrand(link.brand)) {
|
||||
continue;
|
||||
}
|
||||
@@ -54,9 +71,9 @@ async function lookup(browser: Browser, store: Store) {
|
||||
|
||||
Logger.debug(textContent);
|
||||
|
||||
if (includesLabels(textContent, link.oosLabels)) {
|
||||
if (includesLabels(textContent, store.labels.oosList)) {
|
||||
Logger.info(`✖ [${store.name}] still out of stock: ${graphicsCard}`);
|
||||
} else if (link.captchaLabels && includesLabels(textContent, link.captchaLabels)) {
|
||||
} else if (store.labels.captchaList && includesLabels(textContent, store.labels.captchaList)) {
|
||||
Logger.warn(`✖ [${store.name}] CAPTCHA from: ${graphicsCard}. Waiting for a bit with this store...`);
|
||||
await delay(getSleepTime());
|
||||
} else if (response && response.status() === 429) {
|
||||
@@ -81,7 +98,7 @@ async function lookup(browser: Browser, store: Store) {
|
||||
|
||||
await page.close();
|
||||
}
|
||||
/* eslint-enable no-await-in-loop */
|
||||
/* eslint-enable no-await-in-loop */
|
||||
}
|
||||
|
||||
export async function tryLookupAndLoop(browser: Browser, store: Store) {
|
||||
|
||||
+26
-24
@@ -3,61 +3,63 @@ import {Store} from './store';
|
||||
export const Adorama: Store = {
|
||||
links: [
|
||||
{
|
||||
series: 'debug',
|
||||
brand: 'TEST',
|
||||
model: 'CARD',
|
||||
url: 'https://www.adorama.com/ev08gp43067k.html'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'pny',
|
||||
model: 'xlr8',
|
||||
url: 'https://www.adorama.com/pnv301tfxmpb.html',
|
||||
oosLabels: ['temporarily not available', 'out of stock'],
|
||||
captchaLabels: ['please verify you are a human']
|
||||
url: 'https://www.adorama.com/pnv301tfxmpb.html'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'msi',
|
||||
model: 'gaming x trio',
|
||||
url: 'https://www.adorama.com/msig380gxt1.html',
|
||||
oosLabels: ['temporarily not available', 'out of stock'],
|
||||
captchaLabels: ['please verify you are a human']
|
||||
url: 'https://www.adorama.com/msig380gxt1.html'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'evga',
|
||||
model: 'ftw3 ultra',
|
||||
url: 'https://www.adorama.com/ev10g53897kr.html',
|
||||
oosLabels: ['temporarily not available', 'out of stock'],
|
||||
captchaLabels: ['please verify you are a human']
|
||||
url: 'https://www.adorama.com/ev10g53897kr.html'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'evga',
|
||||
model: 'xc3 ultra',
|
||||
url: 'https://www.adorama.com/ev10g53885kr.html',
|
||||
oosLabels: ['temporarily not available', 'out of stock'],
|
||||
captchaLabels: ['please verify you are a human']
|
||||
url: 'https://www.adorama.com/ev10g53885kr.html'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'evga',
|
||||
model: 'ftw3',
|
||||
url: 'https://www.adorama.com/ev10g53895kr.html',
|
||||
oosLabels: ['temporarily not available', 'out of stock'],
|
||||
captchaLabels: ['please verify you are a human']
|
||||
url: 'https://www.adorama.com/ev10g53895kr.html'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'evga',
|
||||
model: 'xc3',
|
||||
url: 'https://www.adorama.com/ev10g53883kr.html',
|
||||
oosLabels: ['temporarily not available', 'out of stock'],
|
||||
captchaLabels: ['please verify you are a human']
|
||||
url: 'https://www.adorama.com/ev10g53883kr.html'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'evga',
|
||||
model: 'xc3 black',
|
||||
url: 'https://www.adorama.com/ev10g53881kr.html',
|
||||
oosLabels: ['temporarily not available', 'out of stock'],
|
||||
captchaLabels: ['please verify you are a human']
|
||||
url: 'https://www.adorama.com/ev10g53881kr.html'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'msi',
|
||||
model: 'ventus 3x oc',
|
||||
url: 'https://www.adorama.com/msig38v3x10c.html',
|
||||
oosLabels: ['temporarily not available', 'out of stock'],
|
||||
captchaLabels: ['please verify you are a human']
|
||||
url: 'https://www.adorama.com/msig38v3x10c.html'
|
||||
}
|
||||
],
|
||||
labels: {
|
||||
oosList: ['temporarily not available', 'out of stock'],
|
||||
captchaList: ['please verify you are a human']
|
||||
},
|
||||
name: 'adorama'
|
||||
};
|
||||
|
||||
@@ -3,82 +3,81 @@ import {Store} from './store';
|
||||
export const AmazonCa: Store = {
|
||||
links: [
|
||||
{
|
||||
series: 'debug',
|
||||
brand: 'TEST',
|
||||
model: 'CARD',
|
||||
url: 'https://www.amazon.ca/GeForce-RTX-2060-Architecture-Graphics/dp/B07PBLD2MX/ref=sr_1_2'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'msi',
|
||||
model: 'gaming x trio',
|
||||
url: 'https://www.amazon.ca/MSI-GeForce-RTX-3080-10G/dp/B08HR7SV3M?ref_=ast_sto_dp',
|
||||
oosLabels: ['currently unavailable'],
|
||||
captchaLabels: ['enter the characters you see below']
|
||||
url: 'https://www.amazon.ca/MSI-GeForce-RTX-3080-10G/dp/B08HR7SV3M?ref_=ast_sto_dp'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'evga',
|
||||
model: 'ftw3',
|
||||
url: 'https://www.amazon.ca/EVGA-GeForce-Technology-Backplate-10G-P5-3895-KR/dp/B08HR3DPGW?ref_=ast_sto_dp',
|
||||
oosLabels: ['currently unavailable'],
|
||||
captchaLabels: ['enter the characters you see below']
|
||||
url: 'https://www.amazon.ca/EVGA-GeForce-Technology-Backplate-10G-P5-3895-KR/dp/B08HR3DPGW?ref_=ast_sto_dp'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'evga',
|
||||
model: 'ftw3 ultra',
|
||||
url: 'https://www.amazon.ca/EVGA-GeForce-Technology-Backplate-10G-P5-3897-KR/dp/B08HR3Y5GQ?ref_=ast_sto_dp',
|
||||
oosLabels: ['currently unavailable'],
|
||||
captchaLabels: ['enter the characters you see below']
|
||||
url: 'https://www.amazon.ca/EVGA-GeForce-Technology-Backplate-10G-P5-3897-KR/dp/B08HR3Y5GQ?ref_=ast_sto_dp'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'evga',
|
||||
model: 'xc3 ultra',
|
||||
url: 'https://www.amazon.ca/EVGA-GeForce-Cooling-Backplate-10G-P5-3885-KR/dp/B08HR55YB5?ref_=ast_sto_dp',
|
||||
oosLabels: ['currently unavailable'],
|
||||
captchaLabels: ['enter the characters you see below']
|
||||
url: 'https://www.amazon.ca/EVGA-GeForce-Cooling-Backplate-10G-P5-3885-KR/dp/B08HR55YB5?ref_=ast_sto_dp'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'evga',
|
||||
model: 'xc3',
|
||||
url: 'https://www.amazon.ca/EVGA-GeForce-Cooling-Backplate-10G-P5-3883-KR/dp/B08HR4RJ3Q?ref_=ast_sto_dp',
|
||||
oosLabels: ['currently unavailable'],
|
||||
captchaLabels: ['enter the characters you see below']
|
||||
url: 'https://www.amazon.ca/EVGA-GeForce-Cooling-Backplate-10G-P5-3883-KR/dp/B08HR4RJ3Q?ref_=ast_sto_dp'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'evga',
|
||||
model: 'xc3 black',
|
||||
url: 'https://www.amazon.ca/EVGA-GeForce-Gaming-Cooling-10G-P5-3881-KR/dp/B08HR6FMF3?ref_=ast_sto_dp',
|
||||
oosLabels: ['currently unavailable'],
|
||||
captchaLabels: ['enter the characters you see below']
|
||||
url: 'https://www.amazon.ca/EVGA-GeForce-Gaming-Cooling-10G-P5-3881-KR/dp/B08HR6FMF3?ref_=ast_sto_dp'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'gigabyte',
|
||||
model: 'gaming oc',
|
||||
url: 'https://www.amazon.ca/GIGABYTE-GeForce-Graphics-WINDFORCE-GV-N3080GAMING/dp/B08HJTH61J?ref_=ast_sto_dp',
|
||||
oosLabels: ['currently unavailable'],
|
||||
captchaLabels: ['enter the characters you see below']
|
||||
url: 'https://www.amazon.ca/GIGABYTE-GeForce-Graphics-WINDFORCE-GV-N3080GAMING/dp/B08HJTH61J?ref_=ast_sto_dp'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'gigabyte',
|
||||
model: 'eagle oc',
|
||||
url: 'https://www.amazon.ca/GIGABYTE-GeForce-Graphics-WINDFORCE-GV-N3080EAGLE/dp/B08HJS2JLJ?ref_=ast_sto_dp',
|
||||
oosLabels: ['currently unavailable'],
|
||||
captchaLabels: ['enter the characters you see below']
|
||||
url: 'https://www.amazon.ca/GIGABYTE-GeForce-Graphics-WINDFORCE-GV-N3080EAGLE/dp/B08HJS2JLJ?ref_=ast_sto_dp'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'asus',
|
||||
model: 'tuf',
|
||||
url: 'https://www.amazon.ca/Asus-90YV0FB0-M0AM00-TUF-RTX3080-10G-GAMING/dp/B08HHDP9DW?ref_=ast_sto_dp',
|
||||
oosLabels: ['currently unavailable'],
|
||||
captchaLabels: ['enter the characters you see below']
|
||||
url: 'https://www.amazon.ca/Asus-90YV0FB0-M0AM00-TUF-RTX3080-10G-GAMING/dp/B08HHDP9DW?ref_=ast_sto_dp'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'asus',
|
||||
model: 'tuf oc',
|
||||
url: 'https://www.amazon.ca/Asus-90YV0FB1-M0AM00-TUF-RTX3080-O10G-GAMING/dp/B08HH5WF97?ref_=ast_sto_dp',
|
||||
oosLabels: ['currently unavailable'],
|
||||
captchaLabels: ['enter the characters you see below']
|
||||
url: 'https://www.amazon.ca/Asus-90YV0FB1-M0AM00-TUF-RTX3080-O10G-GAMING/dp/B08HH5WF97?ref_=ast_sto_dp'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'msi',
|
||||
model: 'ventus 3x oc',
|
||||
url: 'https://www.amazon.ca/MSI-GeForce-RTX-3080-10G/dp/B08HR5SXPS?ref_=ast_sto_dp',
|
||||
oosLabels: ['currently unavailable'],
|
||||
captchaLabels: ['enter the characters you see below']
|
||||
url: 'https://www.amazon.ca/MSI-GeForce-RTX-3080-10G/dp/B08HR5SXPS?ref_=ast_sto_dp'
|
||||
}
|
||||
],
|
||||
labels: {
|
||||
oosList: ['currently unavailable'],
|
||||
captchaList: ['enter the characters you see below']
|
||||
},
|
||||
name: 'amazon-ca'
|
||||
};
|
||||
|
||||
+36
-39
@@ -3,96 +3,93 @@ import {Store} from './store';
|
||||
export const Amazon: Store = {
|
||||
links: [
|
||||
{
|
||||
series: 'debug',
|
||||
brand: 'TEST',
|
||||
model: 'CARD',
|
||||
url: 'https://www.amazon.com/MSI-GeForce-RTX-2060-Architecture/dp/B07MQ36Z6L/ref=sr_1_4'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'pny',
|
||||
model: 'xlr8',
|
||||
url: 'https://www.amazon.com/PNY-GeForce-Gaming-Epic-X-Graphics/dp/B08HBR7QBM?ref_=ast_sto_dp',
|
||||
oosLabels: ['currently unavailable'],
|
||||
captchaLabels: ['enter the characters you see below']
|
||||
url: 'https://www.amazon.com/PNY-GeForce-Gaming-Epic-X-Graphics/dp/B08HBR7QBM?ref_=ast_sto_dp'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'msi',
|
||||
model: 'gaming x trio',
|
||||
url: 'https://www.amazon.com/MSI-GeForce-RTX-3080-10G/dp/B08HR7SV3M?ref_=ast_sto_dp',
|
||||
oosLabels: ['currently unavailable'],
|
||||
captchaLabels: ['enter the characters you see below']
|
||||
url: 'https://www.amazon.com/MSI-GeForce-RTX-3080-10G/dp/B08HR7SV3M?ref_=ast_sto_dp'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'evga',
|
||||
model: 'ftw3 ultra',
|
||||
url: 'https://www.amazon.com/EVGA-10G-P5-3897-KR-GeForce-Technology-Backplate/dp/B08HR3Y5GQ?ref_=ast_sto_dp',
|
||||
oosLabels: ['currently unavailable'],
|
||||
captchaLabels: ['enter the characters you see below']
|
||||
url: 'https://www.amazon.com/EVGA-10G-P5-3897-KR-GeForce-Technology-Backplate/dp/B08HR3Y5GQ?ref_=ast_sto_dp'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'evga',
|
||||
model: 'xc3 ultra',
|
||||
url: 'https://www.amazon.com/EVGA-10G-P5-3885-KR-GeForce-Cooling-Backplate/dp/B08HR55YB5?ref_=ast_sto_dp',
|
||||
oosLabels: ['currently unavailable'],
|
||||
captchaLabels: ['enter the characters you see below']
|
||||
url: 'https://www.amazon.com/EVGA-10G-P5-3885-KR-GeForce-Cooling-Backplate/dp/B08HR55YB5?ref_=ast_sto_dp'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'evga',
|
||||
model: 'ftw3',
|
||||
url: 'https://www.amazon.com/EVGA-10G-P5-3895-KR-GeForce-Technology-Backplate/dp/B08HR3DPGW?ref_=ast_sto_dp',
|
||||
oosLabels: ['currently unavailable'],
|
||||
captchaLabels: ['enter the characters you see below']
|
||||
url: 'https://www.amazon.com/EVGA-10G-P5-3895-KR-GeForce-Technology-Backplate/dp/B08HR3DPGW?ref_=ast_sto_dp'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'evga',
|
||||
model: 'xc3',
|
||||
url: 'https://www.amazon.com/EVGA-10G-P5-3883-KR-GeForce-Cooling-Backplate/dp/B08HR4RJ3Q?ref_=ast_sto_dp',
|
||||
oosLabels: ['currently unavailable'],
|
||||
captchaLabels: ['enter the characters you see below']
|
||||
url: 'https://www.amazon.com/EVGA-10G-P5-3883-KR-GeForce-Cooling-Backplate/dp/B08HR4RJ3Q?ref_=ast_sto_dp'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'evga',
|
||||
model: 'xc3 black',
|
||||
url: 'https://www.amazon.com/EVGA-10G-P5-3881-KR-GeForce-GAMING-Cooling/dp/B08HR6FMF3?ref_=ast_sto_dp',
|
||||
oosLabels: ['currently unavailable'],
|
||||
captchaLabels: ['enter the characters you see below']
|
||||
url: 'https://www.amazon.com/EVGA-10G-P5-3881-KR-GeForce-GAMING-Cooling/dp/B08HR6FMF3?ref_=ast_sto_dp'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'gigabyte',
|
||||
model: 'gaming oc',
|
||||
url: 'https://www.amazon.com/GIGABYTE-GeForce-Graphics-WINDFORCE-GV-N3080GAMING/dp/B08HJTH61J?ref_=ast_sto_dp',
|
||||
oosLabels: ['currently unavailable'],
|
||||
captchaLabels: ['enter the characters you see below']
|
||||
url: 'https://www.amazon.com/GIGABYTE-GeForce-Graphics-WINDFORCE-GV-N3080GAMING/dp/B08HJTH61J?ref_=ast_sto_dp'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'gigabyte',
|
||||
model: 'eagle oc',
|
||||
url: 'https://www.amazon.com/GIGABYTE-GeForce-Graphics-WINDFORCE-GV-N3080EAGLE/dp/B08HJS2JLJ?ref_=ast_sto_dp',
|
||||
oosLabels: ['currently unavailable'],
|
||||
captchaLabels: ['enter the characters you see below']
|
||||
url: 'https://www.amazon.com/GIGABYTE-GeForce-Graphics-WINDFORCE-GV-N3080EAGLE/dp/B08HJS2JLJ?ref_=ast_sto_dp'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'asus',
|
||||
model: 'tuf oc',
|
||||
url: 'https://www.amazon.com/ASUS-Graphics-DisplayPort-Military-Grade-Certification/dp/B08HH5WF97?ref_=ast_sto_dp',
|
||||
oosLabels: ['currently unavailable'],
|
||||
captchaLabels: ['enter the characters you see below']
|
||||
url: 'https://www.amazon.com/ASUS-Graphics-DisplayPort-Military-Grade-Certification/dp/B08HH5WF97?ref_=ast_sto_dp'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'asus',
|
||||
model: 'tuf',
|
||||
url: 'https://www.amazon.com/ASUS-Graphics-DisplayPort-Military-Grade-Certification/dp/B08HHDP9DW?ref_=ast_sto_dp',
|
||||
oosLabels: ['currently unavailable'],
|
||||
captchaLabels: ['enter the characters you see below']
|
||||
url: 'https://www.amazon.com/ASUS-Graphics-DisplayPort-Military-Grade-Certification/dp/B08HHDP9DW?ref_=ast_sto_dp'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'msi',
|
||||
model: 'ventus 3x oc',
|
||||
url: 'https://www.amazon.com/MSI-GeForce-RTX-3080-10G/dp/B08HR5SXPS?ref_=ast_sto_dp',
|
||||
oosLabels: ['currently unavailable'],
|
||||
captchaLabels: ['enter the characters you see below']
|
||||
url: 'https://www.amazon.com/MSI-GeForce-RTX-3080-10G/dp/B08HR5SXPS?ref_=ast_sto_dp'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'zotac',
|
||||
model: 'trinity',
|
||||
url: 'https://www.amazon.com/ZOTAC-Graphics-IceStorm-Advanced-ZT-A30800D-10P/dp/B08HJNKT3P?ref_=ast_sto_dp',
|
||||
oosLabels: ['currently unavailable'],
|
||||
captchaLabels: ['enter the characters you see below']
|
||||
url: 'https://www.amazon.com/ZOTAC-Graphics-IceStorm-Advanced-ZT-A30800D-10P/dp/B08HJNKT3P?ref_=ast_sto_dp'
|
||||
}
|
||||
],
|
||||
labels: {
|
||||
oosList: ['currently unavailable'],
|
||||
captchaList: ['enter the characters you see below']
|
||||
},
|
||||
name: 'amazon'
|
||||
};
|
||||
|
||||
@@ -3,18 +3,21 @@ import {Store} from './store';
|
||||
export const Asus: Store = {
|
||||
links: [
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'asus',
|
||||
model: 'tuf oc',
|
||||
url: 'https://store.asus.com/us/item/202009AM160000001/',
|
||||
oosLabels: ['coming soon', 'temporarily sold out']
|
||||
url: 'https://store.asus.com/us/item/202009AM160000001/'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'asus',
|
||||
model: 'tuf',
|
||||
url: 'https://store.asus.com/us/item/202009AM150000004/',
|
||||
oosLabels: ['coming soon', 'temporarily sold out']
|
||||
url: 'https://store.asus.com/us/item/202009AM150000004/'
|
||||
}
|
||||
],
|
||||
labels: {
|
||||
oosList: ['coming soon', 'temporarily sold out']
|
||||
},
|
||||
name: 'asus'
|
||||
};
|
||||
|
||||
|
||||
+25
-16
@@ -3,54 +3,63 @@ import {Store} from './store';
|
||||
export const BAndH: Store = {
|
||||
links: [
|
||||
{
|
||||
series: 'debug',
|
||||
brand: 'TEST',
|
||||
model: 'CARD',
|
||||
url: 'https://www.bhphotovideo.com/c/product/1452927-REG/evga_06g_p4_2063_kr_geforce_rtx_2060_xc.html'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'asus',
|
||||
model: 'tuf',
|
||||
url: 'https://www.bhphotovideo.com/c/product/1593649-REG/asus_tuf_rtx3080_10g_gaming_tuf_gaming_geforce_rtx.html',
|
||||
oosLabels: ['notify when available']
|
||||
url: 'https://www.bhphotovideo.com/c/product/1593649-REG/asus_tuf_rtx3080_10g_gaming_tuf_gaming_geforce_rtx.html'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'gigabyte',
|
||||
model: 'gaming oc',
|
||||
url: 'https://www.bhphotovideo.com/c/product/1593333-REG/gigabyte_gv_n3080gaming_oc_10gd_geforce_rtx_3080_gaming.html',
|
||||
oosLabels: ['notify when available']
|
||||
url: 'https://www.bhphotovideo.com/c/product/1593333-REG/gigabyte_gv_n3080gaming_oc_10gd_geforce_rtx_3080_gaming.html'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'zotac',
|
||||
model: 'trinity',
|
||||
url: 'https://www.bhphotovideo.com/c/product/1592969-REG/zotac_zt_a30800d_10p_gaming_geforce_rtx_3080.html',
|
||||
oosLabels: ['notify when available']
|
||||
url: 'https://www.bhphotovideo.com/c/product/1592969-REG/zotac_zt_a30800d_10p_gaming_geforce_rtx_3080.html'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'asus',
|
||||
model: 'tuf oc',
|
||||
url: 'https://www.bhphotovideo.com/c/product/1593650-REG/asus_tuf_rtx3080_o10g_gaming_tuf_gaming_geforce_rtx.html',
|
||||
oosLabels: ['notify when available']
|
||||
url: 'https://www.bhphotovideo.com/c/product/1593650-REG/asus_tuf_rtx3080_o10g_gaming_tuf_gaming_geforce_rtx.html'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'msi',
|
||||
model: 'gaming x trio',
|
||||
url: 'https://www.bhphotovideo.com/c/product/1593996-REG/msi_g3080gxt10_geforce_rtx_3080_gaming.html',
|
||||
oosLabels: ['notify when available']
|
||||
url: 'https://www.bhphotovideo.com/c/product/1593996-REG/msi_g3080gxt10_geforce_rtx_3080_gaming.html'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'msi',
|
||||
model: 'ventus 3x oc',
|
||||
url: 'https://www.bhphotovideo.com/c/product/1593997-REG/msi_g3080v3x10c_geforce_rtx_3080_ventus.html',
|
||||
oosLabels: ['notify when available']
|
||||
url: 'https://www.bhphotovideo.com/c/product/1593997-REG/msi_g3080v3x10c_geforce_rtx_3080_ventus.html'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'msi',
|
||||
model: 'gaming x trio - duplicate',
|
||||
url: 'https://www.bhphotovideo.com/c/product/1593645-REG/msi_geforce_rtx_3080_gaming.html',
|
||||
oosLabels: ['notify when available']
|
||||
url: 'https://www.bhphotovideo.com/c/product/1593645-REG/msi_geforce_rtx_3080_gaming.html'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'msi',
|
||||
model: 'ventus 3x oc - duplicate',
|
||||
url: 'https://www.bhphotovideo.com/c/product/1593646-REG/msi_geforce_rtx_3080_ventus.html',
|
||||
oosLabels: ['notify when available']
|
||||
url: 'https://www.bhphotovideo.com/c/product/1593646-REG/msi_geforce_rtx_3080_ventus.html'
|
||||
}
|
||||
|
||||
],
|
||||
labels: {
|
||||
oosList: ['notify when available']
|
||||
},
|
||||
name: 'bandh'
|
||||
};
|
||||
|
||||
+51
-42
@@ -3,54 +3,63 @@ import {Store} from './store';
|
||||
export const BestBuy: Store = {
|
||||
links: [
|
||||
{
|
||||
cartUrl: 'https://api.bestbuy.com/click/-/6432445/cart',
|
||||
brand: 'asus',
|
||||
model: 'rog strix',
|
||||
url: 'https://www.bestbuy.com/site/asus-geforce-rtx-3080-10gb-gddr6x-pci-express-4-0-strix-graphics-card-black/6432445.p?skuId=6432445',
|
||||
oosLabels: ['sold out', 'coming soon']
|
||||
series: 'debug',
|
||||
brand: 'TEST',
|
||||
model: 'CARD',
|
||||
url: 'https://www.bestbuy.com/site/nvidia-geforce-rtx-2060-super-8gb-gddr6-pci-express-graphics-card-black-silver/6361329.p?skuId=6361329'
|
||||
},
|
||||
{
|
||||
cartUrl: 'https://api.bestbuy.com/click/-/6432399/cart',
|
||||
brand: 'evga',
|
||||
model: 'xc3 black',
|
||||
url: 'https://www.bestbuy.com/site/evga-geforce-rtx-3080-10gb-gddr6x-pci-express-4-0-graphics-card/6432399.p?skuId=6432399',
|
||||
oosLabels: ['sold out', 'coming soon']
|
||||
},
|
||||
{
|
||||
cartUrl: 'https://api.bestbuy.com/click/-/6432400/cart',
|
||||
brand: 'evga',
|
||||
model: 'xc3 ultra',
|
||||
url: 'https://www.bestbuy.com/site/evga-geforce-rtx-3080-10gb-gddr6x-pci-express-4-0-graphics-card/6432400.p?skuId=6432400',
|
||||
oosLabels: ['sold out', 'coming soon']
|
||||
},
|
||||
{
|
||||
cartUrl: 'https://api.bestbuy.com/click/-/6430620/cart',
|
||||
brand: 'gigabyte',
|
||||
model: 'gaming oc',
|
||||
url: 'https://www.bestbuy.com/site/gigabyte-geforce-rtx-3080-10g-gddr6x-pci-express-4-0-graphics-card-black/6430620.p?acampID=0&cmp=RMX&loc=Hatch&ref=198&skuId=6430620',
|
||||
oosLabels: ['sold out', 'coming soon']
|
||||
},
|
||||
{
|
||||
cartUrl: 'https://api.bestbuy.com/click/-/6430621/cart',
|
||||
brand: 'gigabyte',
|
||||
model: 'eagle oc',
|
||||
url: 'https://www.bestbuy.com/site/gigabyte-geforce-rtx-3080-10g-gddr6x-pci-express-4-0-graphics-card-black/6430621.p?skuId=6430621',
|
||||
oosLabels: ['sold out', 'coming soon']
|
||||
},
|
||||
{
|
||||
cartUrl: 'https://api.bestbuy.com/click/-/6430175/cart',
|
||||
brand: 'msi',
|
||||
model: 'ventus 3x oc',
|
||||
url: 'https://www.bestbuy.com/site/msi-geforce-rtx-3080-ventus-3x-10g-oc-bv-gddr6x-pci-express-4-0-graphic-card-black-silver/6430175.p?skuId=6430175',
|
||||
oosLabels: ['sold out', 'coming soon']
|
||||
},
|
||||
{
|
||||
cartUrl: 'https://api.bestbuy.com/click/-/6429440/cart',
|
||||
series: '3080',
|
||||
brand: 'nvidia',
|
||||
model: 'founders edition',
|
||||
url: 'https://www.bestbuy.com/site/nvidia-geforce-rtx-3080-10gb-gddr6x-pci-express-4-0-graphics-card-titanium-and-black/6429440.p?skuId=6429440',
|
||||
oosLabels: ['sold out', 'coming soon']
|
||||
cartUrl: 'https://api.bestbuy.com/click/-/6429440/cart'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'asus',
|
||||
model: 'rog strix',
|
||||
url: 'https://www.bestbuy.com/site/asus-geforce-rtx-3080-10gb-gddr6x-pci-express-4-0-strix-graphics-card-black/6432445.p?skuId=6432445',
|
||||
cartUrl: 'https://api.bestbuy.com/click/-/6432445/cart'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'evga',
|
||||
model: 'xc3 black',
|
||||
url: 'https://www.bestbuy.com/site/evga-geforce-rtx-3080-10gb-gddr6x-pci-express-4-0-graphics-card/6432399.p?skuId=6432399',
|
||||
cartUrl: 'https://api.bestbuy.com/click/-/6432399/cart'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'evga',
|
||||
model: 'xc3 ultra',
|
||||
url: 'https://www.bestbuy.com/site/evga-geforce-rtx-3080-10gb-gddr6x-pci-express-4-0-graphics-card/6432400.p?skuId=6432400',
|
||||
cartUrl: 'https://api.bestbuy.com/click/-/6432400/cart'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'gigabyte',
|
||||
model: 'gaming oc',
|
||||
url: 'https://www.bestbuy.com/site/gigabyte-geforce-rtx-3080-10g-gddr6x-pci-express-4-0-graphics-card-black/6430620.p?acampID=0&cmp=RMX&loc=Hatch&ref=198&skuId=6430620',
|
||||
cartUrl: 'https://api.bestbuy.com/click/-/6430620/cart'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'gigabyte',
|
||||
model: 'eagle oc',
|
||||
url: 'https://www.bestbuy.com/site/gigabyte-geforce-rtx-3080-10g-gddr6x-pci-express-4-0-graphics-card-black/6430621.p?skuId=6430621',
|
||||
cartUrl: 'https://api.bestbuy.com/click/-/6430621/cart'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'msi',
|
||||
model: 'ventus 3x oc',
|
||||
url: 'https://www.bestbuy.com/site/msi-geforce-rtx-3080-ventus-3x-10g-oc-bv-gddr6x-pci-express-4-0-graphic-card-black-silver/6430175.p?skuId=6430175',
|
||||
cartUrl: 'https://api.bestbuy.com/click/-/6430175/cart'
|
||||
}
|
||||
],
|
||||
labels: {
|
||||
oosList: ['sold out', 'coming soon']
|
||||
},
|
||||
name: 'bestbuy'
|
||||
};
|
||||
|
||||
+17
-8
@@ -3,30 +3,39 @@ import {Store} from './store';
|
||||
export const Evga: Store = {
|
||||
links: [
|
||||
{
|
||||
series: 'debug',
|
||||
brand: 'TEST',
|
||||
model: 'CARD',
|
||||
url: 'https://www.evga.com/products/product.aspx?pn=06G-P4-2065-KR'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'evga',
|
||||
model: 'xc3 black',
|
||||
url: 'https://www.evga.com/products/product.aspx?pn=10G-P5-3881-KR',
|
||||
oosLabels: ['out of stock']
|
||||
url: 'https://www.evga.com/products/product.aspx?pn=10G-P5-3881-KR'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'evga',
|
||||
model: 'ftw3',
|
||||
url: 'https://www.evga.com/products/product.aspx?pn=10G-P5-3897-KR',
|
||||
oosLabels: ['out of stock']
|
||||
url: 'https://www.evga.com/products/product.aspx?pn=10G-P5-3897-KR'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'evga',
|
||||
model: 'xc3',
|
||||
url: 'https://www.evga.com/products/product.aspx?pn=10G-P5-3883-KR',
|
||||
oosLabels: ['out of stock']
|
||||
url: 'https://www.evga.com/products/product.aspx?pn=10G-P5-3883-KR'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'evga',
|
||||
model: 'xc3 ultra',
|
||||
url: 'https://www.evga.com/products/product.aspx?pn=10G-P5-3885-KR',
|
||||
oosLabels: ['out of stock']
|
||||
url: 'https://www.evga.com/products/product.aspx?pn=10G-P5-3885-KR'
|
||||
}
|
||||
],
|
||||
labels: {
|
||||
oosList: ['out of stock']
|
||||
},
|
||||
name: 'evga'
|
||||
};
|
||||
|
||||
|
||||
@@ -3,41 +3,50 @@ import {Store} from './store';
|
||||
export const MicroCenter: Store = {
|
||||
links: [
|
||||
{
|
||||
series: 'debug',
|
||||
brand: 'TEST',
|
||||
model: 'CARD',
|
||||
url: 'https://www.microcenter.com/product/618433/evga-geforce-rtx-2060-ko-ultra-overclocked-dual-fan-6gb-gddr6-pcie-30-graphics-card'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'evga',
|
||||
model: 'xc3 ultra',
|
||||
url: 'https://www.microcenter.com/product/628344/evga-geforce-rtx-3080-xc3-ultra-gaming-triple-fan-10gb-gddr6x-pcie-40-graphics-card',
|
||||
oosLabels: ['sold out']
|
||||
url: 'https://www.microcenter.com/product/628344/evga-geforce-rtx-3080-xc3-ultra-gaming-triple-fan-10gb-gddr6x-pcie-40-graphics-card'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'msi',
|
||||
model: 'ventus 3x',
|
||||
url: 'https://www.microcenter.com/product/628331/msi-geforce-rtx-3080-ventus-3x-overclocked-triple-fan-10gb-gddr6x-pcie-40-graphics-card',
|
||||
oosLabels: ['sold out']
|
||||
url: 'https://www.microcenter.com/product/628331/msi-geforce-rtx-3080-ventus-3x-overclocked-triple-fan-10gb-gddr6x-pcie-40-graphics-card'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'asus',
|
||||
model: 'tuf',
|
||||
url: 'https://www.microcenter.com/product/628303/asus-geforce-rtx-3080-tuf-gaming-triple-fan-10gb-gddr6x-pcie-40-graphics-card',
|
||||
oosLabels: ['sold out']
|
||||
url: 'https://www.microcenter.com/product/628303/asus-geforce-rtx-3080-tuf-gaming-triple-fan-10gb-gddr6x-pcie-40-graphics-card'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'msi',
|
||||
model: 'gaming x trio',
|
||||
url: 'https://www.microcenter.com/product/628330/msi-geforce-rtx-3080-gaming-x-trio-triple-fan-10gb-gddr6x-pcie-40-graphics-card',
|
||||
oosLabels: ['sold out']
|
||||
url: 'https://www.microcenter.com/product/628330/msi-geforce-rtx-3080-gaming-x-trio-triple-fan-10gb-gddr6x-pcie-40-graphics-card'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'evga',
|
||||
model: 'xc3 black',
|
||||
url: 'https://www.microcenter.com/product/628340/evga-geforce-rtx-3080-xc3-black-triple-fan-10gb-gddr6x-pcie-40-graphics-card',
|
||||
oosLabels: ['sold out']
|
||||
url: 'https://www.microcenter.com/product/628340/evga-geforce-rtx-3080-xc3-black-triple-fan-10gb-gddr6x-pcie-40-graphics-card'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'zotac',
|
||||
model: 'trinity',
|
||||
url: 'https://www.microcenter.com/product/628607/zotac-geforce-rtx-3080-trinity-overclocked-triple-fan-10gb-gddr6x-pcie-40-graphics-card',
|
||||
oosLabels: ['sold out']
|
||||
url: 'https://www.microcenter.com/product/628607/zotac-geforce-rtx-3080-trinity-overclocked-triple-fan-10gb-gddr6x-pcie-40-graphics-card'
|
||||
}
|
||||
],
|
||||
labels: {
|
||||
oosList: ['sold out']
|
||||
},
|
||||
name: 'microcenter'
|
||||
};
|
||||
|
||||
+37
-39
@@ -3,96 +3,94 @@ import {Store} from './store';
|
||||
export const NewEgg: Store = {
|
||||
links: [
|
||||
{
|
||||
series: 'debug',
|
||||
brand: 'TEST',
|
||||
model: 'CARD',
|
||||
url: 'https://www.newegg.com/evga-geforce-rtx-2060-06g-p4-2066-kr/p/N82E16814487488',
|
||||
cartUrl: 'https://api.bestbuy.com/click/-/6432445/cart'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'asus',
|
||||
model: 'tuf',
|
||||
url: 'https://www.newegg.com/asus-geforce-rtx-3080-tuf-rtx3080-10g-gaming/p/N82E16814126453',
|
||||
oosLabels: ['auto notify', 'out of stock'],
|
||||
captchaLabels: ['are you a human?']
|
||||
url: 'https://www.newegg.com/asus-geforce-rtx-3080-tuf-rtx3080-10g-gaming/p/N82E16814126453'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'evga',
|
||||
model: 'xc3 black',
|
||||
url: 'https://www.newegg.com/evga-geforce-rtx-3080-10g-p5-3881-kr/p/N82E16814487522',
|
||||
oosLabels: ['auto notify', 'out of stock'],
|
||||
captchaLabels: ['are you a human?']
|
||||
url: 'https://www.newegg.com/evga-geforce-rtx-3080-10g-p5-3881-kr/p/N82E16814487522'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'evga',
|
||||
model: 'xc3',
|
||||
url: 'https://www.newegg.com/evga-geforce-rtx-3080-10g-p5-3883-kr/p/N82E16814487521',
|
||||
oosLabels: ['auto notify', 'out of stock'],
|
||||
captchaLabels: ['are you a human?']
|
||||
url: 'https://www.newegg.com/evga-geforce-rtx-3080-10g-p5-3883-kr/p/N82E16814487521'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'evga',
|
||||
model: 'xc3 ultra',
|
||||
url: 'https://www.newegg.com/evga-geforce-rtx-3080-10g-p5-3885-kr/p/N82E16814487520',
|
||||
oosLabels: ['auto notify', 'out of stock'],
|
||||
captchaLabels: ['are you a human?']
|
||||
url: 'https://www.newegg.com/evga-geforce-rtx-3080-10g-p5-3885-kr/p/N82E16814487520'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'msi',
|
||||
model: 'ventus 3x',
|
||||
url: 'https://www.newegg.com/msi-geforce-rtx-3080-rtx-3080-ventus-3x-10g/p/N82E16814137600',
|
||||
oosLabels: ['auto notify', 'out of stock'],
|
||||
captchaLabels: ['are you a human?']
|
||||
url: 'https://www.newegg.com/msi-geforce-rtx-3080-rtx-3080-ventus-3x-10g/p/N82E16814137600'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'msi',
|
||||
model: 'ventus 3x oc',
|
||||
url: 'https://www.newegg.com/msi-geforce-rtx-3080-rtx-3080-ventus-3x-10g-oc/p/N82E16814137598',
|
||||
oosLabels: ['auto notify', 'out of stock'],
|
||||
captchaLabels: ['are you a human?']
|
||||
url: 'https://www.newegg.com/msi-geforce-rtx-3080-rtx-3080-ventus-3x-10g-oc/p/N82E16814137598'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'msi',
|
||||
model: 'gaming x trio',
|
||||
url: 'https://www.newegg.com/msi-geforce-rtx-3080-rtx-3080-gaming-x-trio-10g/p/N82E16814137597',
|
||||
oosLabels: ['auto notify', 'out of stock'],
|
||||
captchaLabels: ['are you a human?']
|
||||
url: 'https://www.newegg.com/msi-geforce-rtx-3080-rtx-3080-gaming-x-trio-10g/p/N82E16814137597'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'gigabyte',
|
||||
model: 'gaming oc',
|
||||
url: 'https://www.newegg.com/gigabyte-geforce-rtx-3080-gv-n3080gaming-oc-10gd/p/N82E16814932329',
|
||||
oosLabels: ['auto notify', 'out of stock'],
|
||||
captchaLabels: ['are you a human?']
|
||||
url: 'https://www.newegg.com/gigabyte-geforce-rtx-3080-gv-n3080gaming-oc-10gd/p/N82E16814932329'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'gigabyte',
|
||||
model: 'eagle oc',
|
||||
url: 'https://www.newegg.com/gigabyte-geforce-rtx-3080-gv-n3080eagle-oc-10gd/p/N82E16814932330',
|
||||
oosLabels: ['auto notify', 'out of stock'],
|
||||
captchaLabels: ['are you a human?']
|
||||
url: 'https://www.newegg.com/gigabyte-geforce-rtx-3080-gv-n3080eagle-oc-10gd/p/N82E16814932330'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'zotac',
|
||||
model: 'trinity',
|
||||
url: 'https://www.newegg.com/zotac-geforce-rtx-3080-zt-a30800d-10p/p/N82E16814500502',
|
||||
oosLabels: ['auto notify', 'out of stock'],
|
||||
captchaLabels: ['are you a human?']
|
||||
url: 'https://www.newegg.com/zotac-geforce-rtx-3080-zt-a30800d-10p/p/N82E16814500502'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'asus',
|
||||
model: 'rog strix',
|
||||
url: 'https://www.newegg.com/asus-geforce-rtx-3080-rog-strix-rtx3080-o10g-gaming/p/N82E16814126457',
|
||||
oosLabels: ['auto notify', 'out of stock'],
|
||||
captchaLabels: ['are you a human?']
|
||||
url: 'https://www.newegg.com/asus-geforce-rtx-3080-rog-strix-rtx3080-o10g-gaming/p/N82E16814126457'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'asus',
|
||||
model: 'tuf oc',
|
||||
url: 'https://www.newegg.com/asus-geforce-rtx-3080-tuf-rtx3080-o10g-gaming/p/N82E16814126452',
|
||||
oosLabels: ['auto notify', 'out of stock'],
|
||||
captchaLabels: ['are you a human?']
|
||||
url: 'https://www.newegg.com/asus-geforce-rtx-3080-tuf-rtx3080-o10g-gaming/p/N82E16814126452'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'zotac',
|
||||
model: 'trinity oc',
|
||||
url: 'https://www.newegg.com/zotac-geforce-rtx-3080-zt-t30800j-10p/p/N82E16814500504',
|
||||
oosLabels: ['auto notify', 'out of stock'],
|
||||
captchaLabels: ['are you a human?']
|
||||
url: 'https://www.newegg.com/zotac-geforce-rtx-3080-zt-t30800j-10p/p/N82E16814500504'
|
||||
}
|
||||
],
|
||||
labels: {
|
||||
oosList: ['auto notify'],
|
||||
captchaList: ['are you a human?']
|
||||
},
|
||||
name: 'newegg'
|
||||
};
|
||||
|
||||
@@ -3,11 +3,22 @@ import {Store} from './store';
|
||||
export const Nvidia: Store = {
|
||||
links: [
|
||||
{
|
||||
series: 'debug',
|
||||
brand: 'TEST',
|
||||
model: 'CARD',
|
||||
url: 'https://api.digitalriver.com/v1/shoppers/me/products/5379432500/inventory-status?apiKey=9485fa7b159e42edb08a83bde0d83dia',
|
||||
cartUrl: 'https://www.nvidia.com/en-us/shop/geforce'
|
||||
},
|
||||
{
|
||||
series: '3080',
|
||||
brand: 'nvidia',
|
||||
model: 'founders edition',
|
||||
url: 'https://api.digitalriver.com/v1/shoppers/me/products/5438481700/inventory-status?apiKey=9485fa7b159e42edb08a83bde0d83dia',
|
||||
oosLabels: ['product_inventory_out_of_stock', 'rate limit exceeded']
|
||||
cartUrl: 'https://www.nvidia.com/en-us/shop/geforce'
|
||||
}
|
||||
],
|
||||
labels: {
|
||||
oosList: ['product_inventory_out_of_stock', 'rate limit exceeded']
|
||||
},
|
||||
name: 'nvidia'
|
||||
};
|
||||
|
||||
@@ -1,13 +1,18 @@
|
||||
export interface Link {
|
||||
cartUrl?: string;
|
||||
series: string;
|
||||
brand: string;
|
||||
model: string;
|
||||
url: string;
|
||||
oosLabels: string[];
|
||||
captchaLabels?: string[];
|
||||
cartUrl?: string;
|
||||
}
|
||||
|
||||
export interface Labels {
|
||||
oosList: string[];
|
||||
captchaList?: string[];
|
||||
}
|
||||
|
||||
export interface Store {
|
||||
links: Link[];
|
||||
labels: Labels;
|
||||
name: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user