From 290473e007361acf9433c358da3b154399b90d38 Mon Sep 17 00:00:00 2001 From: Bobby Lam Date: Thu, 8 Dec 2022 11:05:30 -0800 Subject: [PATCH 1/3] feat: add support for 4080 and more 4090 stores (US - Amazon, Best Buy, Microcenter, PNY, Zotac) Merge from previous pull request from Mr-Tech-13 and used PR 3085 as a template --- docs/reference/filter.md | 4 + docs/reference/notification.md | 2 + dotenv-example | 4 + src/config.ts | 4 + src/store/model/amazon.ts | 176 ++++++++++++++++++++++ src/store/model/bandh.ts | 126 +++++++++++++--- src/store/model/bestbuy.ts | 84 +++++++++++ src/store/model/microcenter.ts | 66 +++++++++ src/store/model/newegg.ts | 259 +++++++++++++++++++++++++++------ src/store/model/pny.ts | 24 +++ src/store/model/store.ts | 14 ++ src/store/model/zotac.ts | 29 ++++ 12 files changed, 731 insertions(+), 61 deletions(-) diff --git a/docs/reference/filter.md b/docs/reference/filter.md index f3cd7580ce..6ab84af099 100644 --- a/docs/reference/filter.md +++ b/docs/reference/filter.md @@ -8,6 +8,8 @@ | `MAX_PRICE_SERIES_3080` | Maximum price allowed for a match, applies 3080 series cards (does not apply to these sites: Nvidia, Asus, EVGA) | | `MAX_PRICE_SERIES_3080TI` | Maximum price allowed for a match, applies 3080 Ti series cards (does not apply to these sites: Nvidia, Asus, EVGA) | | `MAX_PRICE_SERIES_3090` | Maximum price allowed for a match, applies 3090 series cards (does not apply to these sites: Nvidia, Asus, EVGA) | +| `MAX_PRICE_SERIES_4080_12G` | Maximum price allowed for a match, applies 4080 12G series cards (does not apply to these sites: Nvidia, Asus, EVGA) | +| `MAX_PRICE_SERIES_4080_16G` | Maximum price allowed for a match, applies 4080 16G series cards (does not apply to these sites: Nvidia, Asus, EVGA) | | `MAX_PRICE_SERIES_4090` | Maximum price allowed for a match, applies 4090 series cards (does not apply to these sites: Nvidia, Asus, EVGA) | | `MAX_PRICE_SERIES_CORSAIR_SF` | Maximum price allowed for a match, applies to Corsair PSUs | | `MAX_PRICE_SERIES_DARKHERO` | Maximum price allowed for a match, applies to ASUS Dark Hero motherboards | @@ -263,6 +265,8 @@ Used with the `SHOW_ONLY_SERIES` variable. | Nvidia RTX 3080 | `3080` | | Nvidia RTX 3080 Ti | `3080ti` | | Nvidia RTX 3090 | `3090` | +| Nvidia RTX 4080 12G | `4080-12g` | +| Nvidia RTX 4080 16G | `4080-16g` | | Nvidia RTX 4090 | `4090` | | Corsair SFX PSU | `sf` | | Crosshair VIII | `darkhero` | diff --git a/docs/reference/notification.md b/docs/reference/notification.md index 96028ae00d..b95556ab2e 100644 --- a/docs/reference/notification.md +++ b/docs/reference/notification.md @@ -38,6 +38,8 @@ Refer to https://github.com/node-apn/node-apn for config options. | `DISCORD_NOTIFY_GROUP_3080` | Discord group to notify on 3080 stock | | `DISCORD_NOTIFY_GROUP_3080TI` | Discord group to notify on 3080 Ti stock | | `DISCORD_NOTIFY_GROUP_3090` | Discord group to notify on 3090 stock | +| `DISCORD_NOTIFY_GROUP_4080_12G` | Discord group to notify on 4080 12G stock | +| `DISCORD_NOTIFY_GROUP_4080_16G` | Discord group to notify on 4080 16G stock | | `DISCORD_NOTIFY_GROUP_4090` | Discord group to notify on 4090 stock | | `DISCORD_NOTIFY_GROUP_RYZEN5600` | Discord group to notify on 5600X stock | | `DISCORD_NOTIFY_GROUP_RYZEN5800` | Discord group to notify on 5800X stock | diff --git a/dotenv-example b/dotenv-example index e1c152ee92..0d97325576 100644 --- a/dotenv-example +++ b/dotenv-example @@ -28,6 +28,8 @@ DISCORD_NOTIFY_GROUP_3070TI= DISCORD_NOTIFY_GROUP_3080= DISCORD_NOTIFY_GROUP_3080TI= DISCORD_NOTIFY_GROUP_3090= +DISCORD_NOTIFY_GROUP_4080_12G= +DISCORD_NOTIFY_GROUP_4080_16G= DISCORD_NOTIFY_GROUP_4090= DISCORD_NOTIFY_GROUP_CORSAIR_SF= DISCORD_NOTIFY_GROUP_RX6800= @@ -61,6 +63,8 @@ MAX_PRICE_SERIES_3070TI= MAX_PRICE_SERIES_3080= MAX_PRICE_SERIES_3080TI= MAX_PRICE_SERIES_3090= +MAX_PRICE_SERIES_4080_12G= +MAX_PRICE_SERIES_4080_16G= MAX_PRICE_SERIES_4090= MAX_PRICE_SERIES_CORSAIR_SF= MAX_PRICE_SERIES_G4_DOORBELL_PRO= diff --git a/src/config.ts b/src/config.ts index e0b872bfbc..80c3672596 100644 --- a/src/config.ts +++ b/src/config.ts @@ -237,6 +237,8 @@ const notifications = { 3080: envOrArray(process.env.DISCORD_NOTIFY_GROUP_3080), '3080ti': envOrArray(process.env.DISCORD_NOTIFY_GROUP_3080TI), 3090: envOrArray(process.env.DISCORD_NOTIFY_GROUP_3090), + '4080-12g': envOrArray(process.env.DISCORD_NOTIFY_GROUP_4080_12G), + '4080-16g': envOrArray(process.env.DISCORD_NOTIFY_GROUP_4080_16G), 4090: envOrArray(process.env.DISCORD_NOTIFY_GROUP_4090), 'captcha-deterrent': [], darkhero: envOrArray(process.env.DISCORD_NOTIFY_GROUP_DARKHERO), @@ -415,6 +417,8 @@ const store = { 3080: envOrNumber(process.env.MAX_PRICE_SERIES_3080), '3080ti': envOrNumber(process.env.MAX_PRICE_SERIES_3080TI), 3090: envOrNumber(process.env.MAX_PRICE_SERIES_3090), + '4080-12g': envOrNumber(process.env.MAX_PRICE_SERIES_4080_12G), + '4080-16g': envOrNumber(process.env.MAX_PRICE_SERIES_4080_16G), 4090: envOrNumber(process.env.MAX_PRICE_SERIES_4090), 'captcha-deterrent': 0, darkhero: envOrNumber(process.env.MAX_PRICE_SERIES_DARKHERO), diff --git a/src/store/model/amazon.ts b/src/store/model/amazon.ts index a178e4ad49..13311fb051 100644 --- a/src/store/model/amazon.ts +++ b/src/store/model/amazon.ts @@ -779,6 +779,182 @@ export const Amazon: Store = { series: 'sf', url: 'https://www.amazon.com/dp/B07F84FJ1G', }, + { + brand: 'zotac', + cartUrl: + 'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B0BGJRHX1X&Quantity.1=1', + model: 'trinity oc', + series: '4090', + url: 'https://www.amazon.com/dp/B0BGJRHX1X', + }, + { + brand: 'zotac', + cartUrl: + 'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B09D1VF7F8&Quantity.1=1', + model: 'amp extreme airo', + series: '4090', + url: 'https://www.amazon.com/dp/B09D1VF7F8', + }, + { + brand: 'zotac', + cartUrl: + 'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B0BGJQBW6Z&Quantity.1=1', + model: 'trinity', + series: '4090', + url: 'https://www.amazon.com/dp/B0BGJQBW6Z', + }, + { + brand: 'asus', + cartUrl: + 'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B0BGT61797&Quantity.1=1', + model: 'strix oc', + series: '4090', + url: 'https://www.amazon.com/dp/B0BGT61797', + }, + { + brand: 'asus', + cartUrl: + 'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B0BGV6LQYR&Quantity.1=1', + model: 'tuf oc', + series: '4090', + url: 'https://www.amazon.com/dp/B0BGV6LQYR', + }, + { + brand: 'gigabyte', + cartUrl: + 'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B0BGP87RQ2&Quantity.1=1', + model: 'aorus master', + series: '4090', + url: 'https://www.amazon.com/dp/B0BGP87RQ2', + }, + { + brand: 'gigabyte', + cartUrl: + 'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B0BGP8FGNZ&Quantity.1=1', + model: 'gaming oc', + series: '4090', + url: 'https://www.amazon.com/dp/B0BGP8FGNZ', + }, + { + brand: 'gigabyte', + cartUrl: + 'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B0BGP9X18Q&Quantity.1=1', + model: 'windforce', + series: '4090', + url: 'https://www.amazon.com/dp/B0BGP9X18Q', + }, + { + brand: 'pny', + cartUrl: + 'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B0BG93V9GW&Quantity.1=1', + model: 'xlr8 verto epic x', + series: '4090', + url: 'https://www.amazon.com/dp/B0BG93V9GW', + }, + { + brand: 'msi', + cartUrl: + 'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B0BG94BM2G&Quantity.1=1', + model: 'suprim liquid x', + series: '4090', + url: 'https://www.amazon.com/dp/B0BG94BM2G', + }, + { + brand: 'msi', + cartUrl: + 'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B0BG92GY61&Quantity.1=1', + model: 'suprim', + series: '4090', + url: 'https://www.amazon.com/dp/B0BG92GY61', + }, + { + brand: 'msi', + cartUrl: + 'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B0BG94PS2F&Quantity.1=1', + model: 'gaming x trio', + series: '4090', + url: 'https://www.amazon.com/dp/B0BG94PS2F', + }, + { + brand: 'msi', + cartUrl: + 'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B0BG959RCF&Quantity.1=1', + model: 'gaming trio', + series: '4090', + url: 'https://www.amazon.com/dp/B0BG959RCF', + }, + { + brand: 'zotac', + cartUrl: + 'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B0BKK1G181&Quantity.1=1', + model: 'trinity', + series: '4080-16g', + url: 'https://www.amazon.com/dp/B0BKK1G181', + }, + { + brand: 'zotac', + cartUrl: + 'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B0BKK371SB&Quantity.1=1', + model: 'trinity oc', + series: '4080-16g', + url: 'https://www.amazon.com/dp/B0BKK371SB', + }, + { + brand: 'asus', + cartUrl: + 'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B0BLGHRCLX&Quantity.1=1', + model: 'tuf', + series: '4080-16g', + url: 'https://www.amazon.com/dp/B0BLGHRCLX', + }, + { + brand: 'asus', + cartUrl: + 'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B0BLGQHS53&Quantity.1=1', + model: 'tuf oc', + series: '4080-16g', + url: 'https://www.amazon.com/dp/B0BLGQHS53', + }, + { + brand: 'msi', + cartUrl: + 'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B0BL61TNG1&Quantity.1=1', + model: 'ventus 3x', + series: '4080-16g', + url: 'https://www.amazon.com/dp/B0BL61TNG1', + }, + { + brand: 'zotac', + cartUrl: + 'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B0BKK3RFT6&Quantity.1=1', + model: 'amp airo', + series: '4080-16g', + url: 'https://www.amazon.com/dp/B0BKK3RFT6', + }, + { + brand: 'gigabyte', + cartUrl: + 'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B0BMNBJ1DF&Quantity.1=1', + model: 'eagle oc', + series: '4080-16g', + url: 'https://www.amazon.com/dp/B0BMNBJ1DF', + }, + { + brand: 'msi', + cartUrl: + 'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B0BL668N1X&Quantity.1=1', + model: 'gaming x trio', + series: '4080-16g', + url: 'https://www.amazon.com/dp/B0BL668N1X', + }, + { + brand: 'pny', + cartUrl: + 'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B0BG95T5WD&Quantity.1=1', + model: 'xlr8 verto epic x', + series: '4080-16g', + url: 'https://www.amazon.com/dp/B0BG95T5WD', + }, ], name: 'amazon', }; diff --git a/src/store/model/bandh.ts b/src/store/model/bandh.ts index 1750498923..c83229ddfb 100644 --- a/src/store/model/bandh.ts +++ b/src/store/model/bandh.ts @@ -301,24 +301,6 @@ export const BAndH: Store = { series: '4090', url: 'https://www.bhphotovideo.com/c/product/1729258-REG/asus_tuf_rtx4090_o24g_gaming_geforce_rtx_4090_tuf.html', }, - { - brand: 'asus', - model: 'strix oc', - series: '4090', - url: 'https://www.bhphotovideo.com/c/product/1729257-REG/asus_rog_strix_rtx4090_o24g_gaming_geforce_rtx_4090_rog.html', - }, - { - brand: 'gigabyte', - model: 'windforce', - series: '4090', - url: 'https://www.bhphotovideo.com/c/product/1729222-REG/gigabyte_gv_n4090wf3_24gd_geforce_rtx_4090_windforce.html', - }, - { - brand: 'gigabyte', - model: 'gaming oc', - series: '4090', - url: 'https://www.bhphotovideo.com/c/product/1729221-REG/gigabyte_gv_n4090gaming_oc_24gd_geforce_rtx_4090_gaming.html', - }, { brand: 'msi', model: 'suprim x', @@ -385,6 +367,114 @@ export const BAndH: Store = { series: 'sf', url: 'https://www.bhphotovideo.com/c/product/1560680-REG/corsair_cp_9020186_na_corsair_sf750_power_supply.html', }, + { + brand: 'pny', + model: 'xlr8 verto epic x', + series: '4080-16g', + url: 'https://www.bhphotovideo.com/c/product/1729444-REG/pny_vcg408016tfxxpb1_nvidia_geforce_rtx_4080.html', + }, + { + brand: 'gigabyte', + model: 'gaming oc', + series: '4080-16g', + url: 'https://www.bhphotovideo.com/c/product/1731403-REG/gigabyte_gv_n4080gaming_oc_16gd_geforce_rtx_4080_16gb.html', + }, + { + brand: 'gigabyte', + model: 'eagle oc', + series: '4080-16g', + url: 'https://www.bhphotovideo.com/c/product/1731405-REG/gigabyte_gv_n4080eagle_oc_16gd_geforce_rtx_4080_16gb.html', + }, + { + brand: 'zotac', + model: 'amp extreme airo', + series: '4080-16g', + url: 'https://www.bhphotovideo.com/c/product/1732733-REG/zotac_zt_d40810b_10p_geforce_rtx_4080_amp.html', + }, + { + brand: 'gigabyte', + model: 'aero oc', + series: '4080-16g', + url: 'https://www.bhphotovideo.com/c/product/1731404-REG/gigabyte_gv_n4080aero_oc_16gd_geforce_rtx_4080_16gb.html', + }, + { + brand: 'zotac', + model: 'trinity', + series: '4080-16g', + url: 'https://www.bhphotovideo.com/c/product/1732735-REG/zotac_zt_d40810d_10p_geforce_rtx_4080_trinity.html', + }, + { + brand: 'gigabyte', + model: 'eagle', + series: '4080-16g', + url: 'https://www.bhphotovideo.com/c/product/1731409-REG/gigabyte_gv_n4080eagle_16gd_geforce_rtx_4080_16gb.html', + }, + { + brand: 'gigabyte', + model: 'master', + series: '4080-16g', + url: '', + }, + { + brand: 'asus', + model: 'strix oc', + series: '4080-16g', + url: 'https://www.bhphotovideo.com/c/product/1733173-REG/asus_rog_strix_rtx4080_o16g_gaming_geforce_rtx_4080_republic.html', + }, + { + brand: 'asus', + model: 'tuf oc', + series: '4080-16g', + url: 'https://www.bhphotovideo.com/c/product/1733163-REG/asus_tuf_rtx4080_o16g_gaming_geforce_rtx_4080_tuf.html', + }, + { + brand: 'asus', + model: 'tuf', + series: '4080-16g', + url: 'https://www.bhphotovideo.com/c/product/1733171-REG/asus_tuf_rtx4080_16g_gaming_geforce_rtx_4080_tuf.html', + }, + { + brand: 'msi', + model: 'suprim x', + series: '4080-16g', + url: 'https://www.bhphotovideo.com/c/product/1733724-REG/msi_g408016sx_geforce_rtx_4080_16gb.html', + }, + { + brand: 'msi', + model: 'gaming x trio', + series: '4080-16g', + url: 'https://www.bhphotovideo.com/c/product/1733725-REG/msi_g408016gxt_geforce_rtx_4080_16gb.html', + }, + { + brand: 'msi', + model: 'ventus 3x', + series: '4080-16g', + url: 'https://www.bhphotovideo.com/c/product/1733740-REG/msi_g408016v3x_geforce_rtx_4080_16gb.html', + }, + { + brand: 'zotac', + model: 'trinity oc', + series: '4080-16g', + url: 'https://www.bhphotovideo.com/c/product/1732734-REG/zotac_zt_d40810j_10p_geforce_rtx_4080_trinity.html', + }, + { + brand: 'msi', + model: 'ventus 3x oc', + series: '4080-16g', + url: 'https://www.bhphotovideo.com/c/product/1733739-REG/msi_g408016v3xc_geforce_rtx_4080_16gb.html', + }, + { + brand: 'pny', + model: 'xlr8 verto oc', + series: '4080-16g', + url: '', + }, + { + brand: 'pny', + model: 'xlr8 verto epic x', + series: '4080-16g', + url: 'https://www.bhphotovideo.com/c/product/1729444-REG/pny_vcg408016tfxxpb1_nvidia_geforce_rtx_4080.html', + }, ], name: 'bandh', }; diff --git a/src/store/model/bestbuy.ts b/src/store/model/bestbuy.ts index c0a53cb3c0..4fcba1edc1 100644 --- a/src/store/model/bestbuy.ts +++ b/src/store/model/bestbuy.ts @@ -306,6 +306,13 @@ export const BestBuy: Store = { series: '4090', url: 'https://api.bestbuy.com/click/-/6521518/pdp', }, + { + brand: 'gigabyte', + cartUrl: 'https://api.bestbuy.com/click/-/6521517/cart', + model: 'windforce', + series: '4090', + url: 'https://api.bestbuy.com/click/-/6521517/pdp', + }, { brand: 'nvidia', cartUrl: 'https://api.bestbuy.com/click/-/6429434/cart', @@ -586,6 +593,83 @@ export const BestBuy: Store = { series: '3060', url: 'https://api.bestbuy.com/click/-/6454318/pdp', }, + { + brand: 'gigabyte', + cartUrl: 'https://api.bestbuy.com/click/-/6524517/cart', + model: 'gaming oc', + series: '4080-16g', + url: 'https://api.bestbuy.com/click/-/6524517/pdp', + }, + { + brand: 'gigabyte', + cartUrl: 'https://api.bestbuy.com/click/-/6525660/cart', + model: 'aero oc', + series: '4080-16g', + url: 'https://api.bestbuy.com/click/-/6525660/pdp', + }, + { + brand: 'gigabyte', + cartUrl: 'https://api.bestbuy.com/click/-/6525662/cart', + model: 'eagle', + series: '4080-16g', + url: 'https://api.bestbuy.com/click/-/6525662/pdp', + }, + { + brand: 'msi', + cartUrl: 'https://api.bestbuy.com/click/-/6524441/cart', + model: 'ventus 3x oc', + series: '4080-16g', + url: 'https://api.bestbuy.com/click/-/6524441/pdp', + }, + { + brand: 'msi', + cartUrl: 'https://api.bestbuy.com/click/-/6524440/cart', + model: 'gaming x trio', + series: '4080-16g', + url: 'https://api.bestbuy.com/click/-/6524440/pdp', + }, + { + brand: 'asus', + cartUrl: 'https://api.bestbuy.com/click/-/6525658/cart', + model: 'strix', + series: '4080-16g', + url: 'https://api.bestbuy.com/click/-/6525658/pdp', + }, + { + brand: 'gigabyte', + cartUrl: 'https://api.bestbuy.com/click/-/6525663/cart', + model: 'eagle oc', + series: '4080-16g', + url: 'https://api.bestbuy.com/click/-/6525663/pdp', + }, + { + brand: 'asus', + cartUrl: 'https://api.bestbuy.com/click/-/6525659/cart', + model: 'tuf', + series: '4080-16g', + url: 'https://api.bestbuy.com/click/-/6525659/pdp', + }, + { + brand: 'gigabyte', + cartUrl: 'https://api.bestbuy.com/click/-/6525661/cart', + model: 'master', + series: '4080-16g', + url: 'https://api.bestbuy.com/click/-/6525661/pdp', + }, + { + brand: 'pny', + cartUrl: 'https://api.bestbuy.com/click/-/6522940/cart', + model: 'xlr8', + series: '4080-16g', + url: 'https://api.bestbuy.com/click/-/6522940/pdp', + }, + { + brand: 'nvidia', + cartUrl: 'https://api.bestbuy.com/click/-/6521431/cart', + model: 'founders edition', + series: '4080-16g', + url: 'https://api.bestbuy.com/click/-/6521431/pdp', + }, ], name: 'bestbuy', }; diff --git a/src/store/model/microcenter.ts b/src/store/model/microcenter.ts index fffc6ae380..5a1dfd1e9e 100644 --- a/src/store/model/microcenter.ts +++ b/src/store/model/microcenter.ts @@ -336,6 +336,72 @@ for (const microCenterLocation of microCenterLocations) { series: 'darkhero', url: `https://www.microcenter.com/product/631349/asus-x570-rog-crosshair-viii-dark-hero-amd-am4-atx-motherboard/?storeid=${storeId}`, }, + { + brand: 'asus', + model: 'tuf oc', + series: '4090', + url: `https://www.microcenter.com/product/654070/asus-geforce-rtx%C2%A04090-tuf-gaming-overclocked-triple-fan-24gb-gddr6x-pcie-40-graphics-card${storeId}`, + }, + { + brand: 'asus', + model: 'tuf', + series: '4090', + url: `https://www.microcenter.com/product/659687/asus-geforce-rtx-4090-tuf-gaming-triple-fan-24gb-gddr6x-pcie-40-graphics-card${storeId}`, + }, + { + brand: 'msi', + model: 'suprim liquid x', + series: '4090', + url: `https://www.microcenter.com/product/659534/msi-geforce-rtx%C2%A04090-suprim-liquid-x-24g-hybrid-cooling-24gb-gddr6x-pcie-40-graphics-card${storeId}`, + }, + { + brand: 'gigabyte', + model: 'windforce', + series: '4090', + url: `https://www.microcenter.com/product/654056/gigabyte-nvidia-geforce-rtx-4090-windforce-triple-fan-24-gb-gddr6x-pcie-40-graphics-card${storeId}`, + }, + { + brand: 'msi', + model: 'gaming trio', + series: '4090', + url: `https://www.microcenter.com/product/659527/msi-nvidia-geforce-rtx-4090-gaming-trio-triple-fan-24-gb-gddr6x-pcie-40-graphics-card${storeId}`, + }, + { + brand: 'msi', + model: 'gaming x trio', + series: '4090', + url: `https://www.microcenter.com/product/659528/msi-nvidia-geforce-rtx-4090-gaming-x-trio-triple-fan-24-gb-gddr6x-pcie-40-graphics-card${storeId}`, + }, + { + brand: 'msi', + model: 'suprim x', + series: '4090', + url: `https://www.microcenter.com/product/659533/msi-geforce-rtx%C2%A04090-suprim-x-24g-triple-fan-24gb-gddr6x-pcie-40-graphics-card${storeId}`, + }, + { + brand: 'asus', + model: 'strix oc', + series: '4090', + url: `https://www.microcenter.com/product/654069/asus-nvidia-geforce-rtx-4090-rog-strix-overclocked-triple-fan-24-gb-gddr6x-pcie-40-graphics-card${storeId}`, + }, + { + brand: 'zotac', + model: 'trinity', + series: '4090', + url: `https://www.microcenter.com/product/659575/zotac-nvidia-geforce-rtx-4090-trinity-triple-fan-24gb-gddr6x-pcie-40-graphics-card${storeId}`, + }, + { + brand: 'gigabyte', + model: 'gaming oc', + series: '4090', + url: `https://www.microcenter.com/product/654055/gigabyte-nvidia-geforce-rtx-4090-gaming-overclocked-triple-fan-24-gb-gddr6x-pcie-40-graphics-card${storeId}`, + }, + { + brand: 'zotac', + model: 'amp airo', + series: '4090', + url: `https://www.microcenter.com/product/659576/zotac-nvidia-geforce-rtx-4090-amp-extreme-airo-triple-fan-24gb-gddr6x-pcie-40-graphics-card${storeId}`, + }, ]); } } diff --git a/src/store/model/newegg.ts b/src/store/model/newegg.ts index d2aca9b631..d2eacc8725 100644 --- a/src/store/model/newegg.ts +++ b/src/store/model/newegg.ts @@ -519,12 +519,21 @@ export const Newegg: Store = { { brand: 'gigabyte', cartUrl: - 'https://secure.newegg.com/Shopping/AddtoCart.aspx?Submit=ADD&ItemList=N82E16814126594', - itemNumber: 'N82E16814126596', + 'https://secure.newegg.com/Shopping/AddtoCart.aspx?Submit=ADD&ItemList=N82E16814932556', + itemNumber: 'N82E16814932556', model: 'aorus xtreme waterforce 24g', series: '4090', url: 'https://www.newegg.com/gigabyte-geforce-rtx-4090-gv-n4090aorusx-w-24gd/p/N82E16814932556', }, + { + brand: 'gigabyte', + cartUrl: + 'https://secure.newegg.com/Shopping/AddtoCart.aspx?Submit=ADD&ItemList=N82E16814932550', + itemNumber: 'N82E16814932550', + model: 'gaming oc', + series: '4090', + url: 'https://www.newegg.com/asus-rog-crosshair-viii-dark-hero/p/N82E16814932550', + }, { brand: 'gigabyte', cartUrl: @@ -552,15 +561,6 @@ export const Newegg: Store = { series: '4090', url: 'https://www.newegg.com/msi-geforce-rtx-4090-rtx-4090-gaming-trio-24g/p/N82E16814137762', }, - { - brand: 'msi', - cartUrl: - 'https://secure.newegg.com/Shopping/AddtoCart.aspx?Submit=ADD&ItemList=N82E16814137762', - itemNumber: 'N82E16814137762', - model: 'gaming trio', - series: '4090', - url: 'https://www.newegg.com/msi-geforce-rtx-4090-rtx-4090-gaming-trio-24g/p/N82E16814137762', - }, { brand: 'msi', cartUrl: @@ -582,11 +582,11 @@ export const Newegg: Store = { { brand: 'asus', cartUrl: - 'https://secure.newegg.com/Shopping/AddtoCart.aspx?Submit=ADD&ItemList=N82E16814126593', - itemNumber: 'N82E16814126593', + 'https://secure.newegg.com/Shopping/AddtoCart.aspx?Submit=ADD&ItemList=N82E16814126600', + itemNumber: 'N82E16814126600', model: 'strix', series: '4090', - url: 'https://www.newegg.com/asus-geforce-rtx-4090-rog-strix-rtx4090-o24g-gaming/p/N82E16814126593', + url: 'https://www.newegg.com/asus-geforce-rtx-4090-rog-strix-rtx4090-24g-gaming/p/N82E16814126600', }, { brand: 'asus', @@ -597,15 +597,6 @@ export const Newegg: Store = { series: '4090', url: 'https://www.newegg.com/asus-geforce-rtx-4090-rog-strix-rtx4090-o24g-gaming/p/N82E16814126593', }, - { - brand: 'asus', - cartUrl: - 'https://secure.newegg.com/Shopping/AddtoCart.aspx?Submit=ADD&ItemList=N82E16814126600', - itemNumber: 'N82E16814126600', - model: 'strix', - series: '4090', - url: 'https://www.newegg.com/asus-geforce-rtx-4090-rog-strix-rtx4090-o24g-gaming/p/N82E16814126593', - }, { brand: 'asus', cartUrl: @@ -619,7 +610,7 @@ export const Newegg: Store = { brand: 'asus', cartUrl: 'https://secure.newegg.com/Shopping/AddtoCart.aspx?Submit=ADD&ItemList=N82E16814126594', - itemNumber: 'N82E16814126596', + itemNumber: 'N82E16814126594', model: 'tuf oc', series: '4090', url: 'https://www.newegg.com/asus-geforce-rtx-4090-tuf-rtx4090-o24g-gaming/p/N82E16814126594', @@ -633,24 +624,6 @@ export const Newegg: Store = { series: '4090', url: 'https://www.newegg.com/zotac-geforce-rtx-4090-zt-d40900d-10p/p/N82E16814500539', }, - { - brand: 'zotac', - cartUrl: - 'https://secure.newegg.com/Shopping/AddtoCart.aspx?Submit=ADD&ItemList=N82E16814500539', - itemNumber: 'N82E16814500539', - model: 'trinity', - series: '4090', - url: 'https://www.newegg.com/zotac-geforce-rtx-4090-zt-d40900d-10p/p/N82E16814500539', - }, - { - brand: 'zotac', - cartUrl: - 'https://secure.newegg.com/Shopping/AddtoCart.aspx?Submit=ADD&ItemList=N82E16814500538', - itemNumber: 'N82E16814500538', - model: 'amp extreme airo', - series: '4090', - url: 'https://www.newegg.com/zotac-geforce-rtx-4090-zt-d40900b-10p/p/N82E16814500538', - }, { brand: 'zotac', cartUrl: @@ -1417,6 +1390,206 @@ export const Newegg: Store = { series: 'darkhero', url: 'https://www.newegg.com/asus-rog-crosshair-viii-dark-hero/p/N82E16813119362', }, + { + brand: 'asus', + cartUrl: + 'https://secure.newegg.com/Shopping/AddtoCart.aspx?Submit=ADD&ItemList=9SIA4RRJPT6655', + model: 'tuf oc', + series: '4080-16g', + url: 'https://www.newegg.com/asus-rog-crosshair-viii-dark-hero/p/9SIA4RRJPT6655', + }, + { + brand: 'msi', + cartUrl: + 'https://secure.newegg.com/Shopping/AddtoCart.aspx?Submit=ADD&ItemList=9SIB6NDJBU7977', + model: 'suprim x', + series: '4080-16g', + url: 'https://www.newegg.com/asus-rog-crosshair-viii-dark-hero/p/9SIB6NDJBU7977', + }, + { + brand: 'gigabyte', + cartUrl: + 'https://secure.newegg.com/Shopping/AddtoCart.aspx?Submit=ADD&ItemList=9SIA4REJPN0959', + model: 'master', + series: '4080-16g', + url: 'https://www.newegg.com/asus-rog-crosshair-viii-dark-hero/p/9SIA4REJPN0959', + }, + { + brand: 'msi', + cartUrl: + 'https://secure.newegg.com/Shopping/AddtoCart.aspx?Submit=ADD&ItemList=9SIA4REJPN0233', + model: 'ventus 3x', + series: '4080-16g', + url: 'https://www.newegg.com/asus-rog-crosshair-viii-dark-hero/p/9SIA4REJPN0233', + }, + { + brand: 'gigabyte', + cartUrl: + 'https://secure.newegg.com/Shopping/AddtoCart.aspx?Submit=ADD&ItemList=9SIA4REJPN0307', + model: 'aero oc', + series: '4080-16g', + url: 'https://www.newegg.com/asus-rog-crosshair-viii-dark-hero/p/9SIA4REJPN0307', + }, + { + brand: 'ax', + cartUrl: + 'https://secure.newegg.com/Shopping/AddtoCart.aspx?Submit=ADD&ItemList=9SIA4REJPN0954', + model: 'x3w', + series: '4080-16g', + url: 'https://www.newegg.com/asus-rog-crosshair-viii-dark-hero/p/9SIA4REJPN0954', + }, + { + brand: 'inno3d', + cartUrl: + 'https://secure.newegg.com/Shopping/AddtoCart.aspx?Submit=ADD&ItemList=9SIBDCAJBT4674', + model: 'ice dragon super', + series: '4080-16g', + url: 'https://www.newegg.com/asus-rog-crosshair-viii-dark-hero/p/9SIBDCAJBT4674', + }, + { + brand: 'asus', + cartUrl: + 'https://secure.newegg.com/Shopping/AddtoCart.aspx?Submit=ADD&ItemList=9SIAXMKJPP1243', + model: 'tuf', + series: '4080-16g', + url: 'https://www.newegg.com/asus-rog-crosshair-viii-dark-hero/p/9SIAXMKJPP1243', + }, + { + brand: 'gigabyte', + cartUrl: + 'https://secure.newegg.com/Shopping/AddtoCart.aspx?Submit=ADD&ItemList=N82E16814932561', + model: 'gaming oc', + series: '4080-16g', + url: 'https://www.newegg.com/asus-rog-crosshair-viii-dark-hero/p/N82E16814932561', + }, + { + brand: 'gigabyte', + cartUrl: + 'https://secure.newegg.com/Shopping/AddtoCart.aspx?Submit=ADD&ItemList=N82E16814932562', + model: 'eagle oc', + series: '4080-16g', + url: 'https://www.newegg.com/asus-rog-crosshair-viii-dark-hero/p/N82E16814932562', + }, + { + brand: 'msi', + cartUrl: + 'https://secure.newegg.com/Shopping/AddtoCart.aspx?Submit=ADD&ItemList=N82E16814137766', + model: 'gaming x trio', + series: '4080-16g', + url: 'https://www.newegg.com/asus-rog-crosshair-viii-dark-hero/p/N82E16814137766', + }, + { + brand: 'msi', + cartUrl: + 'https://secure.newegg.com/Shopping/AddtoCart.aspx?Submit=ADD&ItemList=N82E16814137765', + model: 'ventus 3x oc', + series: '4080-16g', + url: 'https://www.newegg.com/asus-rog-crosshair-viii-dark-hero/p/N82E16814137765', + }, + { + brand: 'asus', + cartUrl: + 'https://secure.newegg.com/Shopping/AddtoCart.aspx?Submit=ADD&ItemList=N82E16814126597', + model: 'strix oc', + series: '4080-16g', + url: 'https://www.newegg.com/asus-rog-crosshair-viii-dark-hero/p/N82E16814126597', + }, + { + brand: 'pny', + cartUrl: + 'https://secure.newegg.com/Shopping/AddtoCart.aspx?Submit=ADD&ItemList=N82E16814133843', + model: 'xlr8 verto', + series: '4080-16g', + url: 'https://www.newegg.com/asus-rog-crosshair-viii-dark-hero/p/N82E16814133843', + }, + { + brand: 'pny', + cartUrl: + 'https://secure.newegg.com/Shopping/AddtoCart.aspx?Submit=ADD&ItemList=N82E16814133844', + model: 'xlr8 verto oc', + series: '4080-16g', + url: 'https://www.newegg.com/asus-rog-crosshair-viii-dark-hero/p/N82E16814133844', + }, + { + brand: 'gigabyte', + cartUrl: + 'https://secure.newegg.com/Shopping/AddtoCart.aspx?Submit=ADD&ItemList=N82E16814932559', + model: 'aorus', + series: '4080-16g', + url: 'https://www.newegg.com/asus-rog-crosshair-viii-dark-hero/p/N82E16814932559', + }, + { + brand: 'gigabyte', + cartUrl: + 'https://secure.newegg.com/Shopping/AddtoCart.aspx?Submit=ADD&ItemList=N82E16814932560', + model: 'aero oc', + series: '4080-16g', + url: 'https://www.newegg.com/asus-rog-crosshair-viii-dark-hero/p/N82E16814932560', + }, + { + brand: 'zotac', + cartUrl: + 'https://secure.newegg.com/Shopping/AddtoCart.aspx?Submit=ADD&ItemList=N82E16814500541', + model: 'amp extreme airo', + series: '4080-16g', + url: 'https://www.newegg.com/asus-rog-crosshair-viii-dark-hero/p/N82E16814500541', + }, + { + brand: 'gigabyte', + cartUrl: + 'https://secure.newegg.com/Shopping/AddtoCart.aspx?Submit=ADD&ItemList=N82E16814932558', + model: 'aorus w', + series: '4080-16g', + url: 'https://www.newegg.com/asus-rog-crosshair-viii-dark-hero/p/N82E16814932558', + }, + { + brand: 'zotac', + cartUrl: + 'https://secure.newegg.com/Shopping/AddtoCart.aspx?Submit=ADD&ItemList=N82E16814500542', + model: 'trinity', + series: '4080-16g', + url: 'https://www.newegg.com/asus-rog-crosshair-viii-dark-hero/p/N82E16814500542', + }, + { + brand: 'msi', + cartUrl: + 'https://secure.newegg.com/Shopping/AddtoCart.aspx?Submit=ADD&ItemList=N82E16814137768', + model: 'ventus 3x', + series: '4080-16g', + url: 'https://www.newegg.com/asus-rog-crosshair-viii-dark-hero/p/N82E16814137768', + }, + { + brand: 'msi', + cartUrl: + 'https://secure.newegg.com/Shopping/AddtoCart.aspx?Submit=ADD&ItemList=N82E16814137767', + model: 'suprim x', + series: '4080-16g', + url: 'https://www.newegg.com/asus-rog-crosshair-viii-dark-hero/p/N82E16814137767', + }, + { + brand: 'gigabyte', + cartUrl: + 'https://secure.newegg.com/Shopping/AddtoCart.aspx?Submit=ADD&ItemList=N82E16814932557', + model: 'aorus x wb', + series: '4080-16g', + url: 'https://www.newegg.com/asus-rog-crosshair-viii-dark-hero/p/N82E16814932557', + }, + { + brand: 'zotac', + cartUrl: + 'https://secure.newegg.com/Shopping/AddtoCart.aspx?Submit=ADD&ItemList=N82E16814500543', + model: 'trinity oc', + series: '4080-16g', + url: 'https://www.newegg.com/asus-rog-crosshair-viii-dark-hero/p/N82E16814500543', + }, + { + brand: 'asus', + cartUrl: + 'https://secure.newegg.com/Shopping/AddtoCart.aspx?Submit=ADD&ItemList=N82E16814126601', + model: 'strix', + series: '4080-16g', + url: 'https://www.newegg.com/asus-rog-crosshair-viii-dark-hero/p/N82E16814126601', + }, ], name: 'newegg', realTimeInventoryLookup: async (itemNumber: string) => { @@ -1430,4 +1603,4 @@ export const Newegg: Store = { response_json.MainItem.Instock === true ); }, -}; +}; \ No newline at end of file diff --git a/src/store/model/pny.ts b/src/store/model/pny.ts index 94000e8b1a..cf1f26729d 100644 --- a/src/store/model/pny.ts +++ b/src/store/model/pny.ts @@ -67,6 +67,30 @@ export const Pny: Store = { series: '3090', url: 'https://www.pny.com/geforce-rtx-3090-xlr8-gaming-epic-x-rgb-triple-fan-p', }, + { + brand: 'pny', + model: 'xlr8 verto epic x oc', + series: '4090', + url: 'https://www.pny.com/pny-geforce-rtx-4090-24gb-xlr8-rgb-triple-fan-oc', + }, + { + brand: 'pny', + model: 'xlr8 verto epic x', + series: '4090', + url: 'https://www.pny.com/pny-geforce-rtx-4090-24gb-xlr8-rgb-triple-fan', + }, + { + brand: 'pny', + model: 'xlr8 verto epic x', + series: '4080-16g', + url: 'https://www.pny.com/pny-geforce-rtx-4080-16gb-xlr8-gaming-verto-epic-x-rgb-triple-fan', + }, + { + brand: 'pny', + model: 'xlr8 verto epic x oc', + series: '4080-16g', + url: 'https://www.pny.com/pny-geforce-rtx-4080-16gb-epic-x-argb-triple-fan-oc', + }, ], name: 'pny', }; diff --git a/src/store/model/store.ts b/src/store/model/store.ts index b02f923ae1..7ba34c2efe 100644 --- a/src/store/model/store.ts +++ b/src/store/model/store.ts @@ -30,6 +30,7 @@ export type Brand = | 'nvidia' | 'palit' | 'pny' + | 'ax' | 'powercolor' | 'sapphire' | 'sony' @@ -48,6 +49,8 @@ export type Series = | '3080' | '3080ti' | '3090' + | '4080-12g' + | '4080-16g' | '4090' | 'darkhero' | 'g4-doorbell-pro' @@ -83,8 +86,11 @@ export type Model = | 'amd reference' | 'amp extreme airo' | 'amp extreme holo' + | 'amp airo' | 'amp holo' | 'amp white' + | 'aero oc' + | 'aorus x wb' | 'aorus elite' | 'aorus master' | 'aorus master 24g' @@ -94,6 +100,7 @@ export type Model = | 'aorus xtreme waterforce 24g' | 'aorus xtreme waterforce wb' | 'aorus' + | 'aorus w' | 'aorus box' | 'articstorm' | 'battle-ax' @@ -148,6 +155,7 @@ export type Model = | 'hof limited edition' | 'hof premium' | 'hurricane' + | 'ice dragon super' | 'ichill x2' | 'ichill x3' | 'ichill x3 red' @@ -231,6 +239,7 @@ export type Model = | 'vision' | 'windforce' | 'x3' + | 'x3w' | 'x3 oc' | 'x trio' | 'x3 oc' @@ -242,11 +251,16 @@ export type Model = | 'xc3 ultra' | 'xc3 ultra hybrid' | 'xc3' + | 'xlr8' | 'xlr8 epic x' | 'xlr8 gaming' | 'xlr8 gaming uprising epic x' | 'xlr8 revel' | 'xlr8 revel epic x' + | 'xlr8 verto epic x' + | 'xlr8 verto epic x oc' + | 'xlr8 verto oc' + | 'xlr8 verto' | 'xlr8 uprising' | 'xtreme' | 'qick'; diff --git a/src/store/model/zotac.ts b/src/store/model/zotac.ts index 76e3c29d66..aea6b4d03a 100644 --- a/src/store/model/zotac.ts +++ b/src/store/model/zotac.ts @@ -84,6 +84,35 @@ export const Zotac: Store = { series: '3090', url: 'https://store.zotac.com/zotac-gaming-geforce-rtx-3090-trinity-zt-a30900d-10p', }, + { + brand: 'zotac', + model: 'trinity', + series: '4090', + url: 'https://www.zotac.com/product/graphics_card/zotac-gaming-geforce-rtx-4090-trinity', + }, { + brand: 'zotac', + model: 'amp extreme airo', + series: '4090', + url: 'https://www.zotac.com/product/graphics_card/zotac-gaming-geforce-rtx-4090-amp-extreme-airo', + }, + { + brand: 'zotac', + model: 'trinity oc', + series: '4090', + url: 'https://www.zotac.com/product/graphics_card/zotac-gaming-geforce-rtx-4090-trinity-oc', + }, + { + brand: 'zotac', + model: 'amp extreme airo', + series: '4080-16g', + url: 'https://www.zotacstore.com/us/zotac-gaming-geforce-rtx-4080-16gb-amp-extreme-airo', + }, + { + brand: 'zotac', + model: 'trinity', + series: '4080-16g', + url: 'https://www.zotacstore.com/us/zotac-gaming-geforce-rtx-4080-16gb-trinity', + }, ], name: 'zotac', }; From 491986dad74678e55272433c2ee566df88a69795 Mon Sep 17 00:00:00 2001 From: Jef LeCompte Date: Thu, 19 Jan 2023 01:14:24 -0800 Subject: [PATCH 2/3] Update zotac.ts --- src/store/model/zotac.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/store/model/zotac.ts b/src/store/model/zotac.ts index aea6b4d03a..1a673b9fc9 100644 --- a/src/store/model/zotac.ts +++ b/src/store/model/zotac.ts @@ -89,12 +89,13 @@ export const Zotac: Store = { model: 'trinity', series: '4090', url: 'https://www.zotac.com/product/graphics_card/zotac-gaming-geforce-rtx-4090-trinity', - }, { + }, + { brand: 'zotac', model: 'amp extreme airo', series: '4090', url: 'https://www.zotac.com/product/graphics_card/zotac-gaming-geforce-rtx-4090-amp-extreme-airo', - }, + }, { brand: 'zotac', model: 'trinity oc', From 35e3bc004b6686830ca85cdd3102138e80ecdbf6 Mon Sep 17 00:00:00 2001 From: Jef LeCompte Date: Thu, 19 Jan 2023 01:14:51 -0800 Subject: [PATCH 3/3] Update newegg.ts --- src/store/model/newegg.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/model/newegg.ts b/src/store/model/newegg.ts index d2eacc8725..5951d45fbd 100644 --- a/src/store/model/newegg.ts +++ b/src/store/model/newegg.ts @@ -1603,4 +1603,4 @@ export const Newegg: Store = { response_json.MainItem.Instock === true ); }, -}; \ No newline at end of file +};