diff --git a/README.md b/README.md index 14e097e..d920357 100644 --- a/README.md +++ b/README.md @@ -114,6 +114,7 @@ environment variables are **optional**._ | Environment variable | Description | Notes | |:---:|---|---| | `COUNTRY` | [Supported country](#supported-countries) you want to be scraped | Currently only used by Nvidia, default: `usa` | +| `MAX_PRICE_SERIES_3060TI` | Maximum price allowed for a match, applies 3060 Ti series cards (does not apply to these sites: Nvidia, Asus, EVGA) | Default: leave empty for no limit, otherwise enter a price (enter whole dollar amounts only, avoid use of: dollar symbols, commas, and periods.) e.g.: `1234` - Cards above `1234` will be skipped. | | `MAX_PRICE_SERIES_3070` | Maximum price allowed for a match, applies 3070 series cards (does not apply to these sites: Nvidia, Asus, EVGA) | Default: leave empty for no limit, otherwise enter a price (enter whole dollar amounts only, avoid use of: dollar symbols, commas, and periods.) e.g.: `1234` - Cards above `1234` will be skipped. | | `MAX_PRICE_SERIES_3080` | Maximum price allowed for a match, applies 3080 series cards (does not apply to these sites: Nvidia, Asus, EVGA) | Default: leave empty for no limit, otherwise enter a price (enter whole dollar amounts only, avoid use of: dollar symbols, commas, and periods.) e.g.: `1234` - Cards above `1234` will be skipped. | | `MAX_PRICE_SERIES_3090` | Maximum price allowed for a match, applies 3090 series cards (does not apply to these sites: Nvidia, Asus, EVGA) | Default: leave empty for no limit, otherwise enter a price (enter whole dollar amounts only, avoid use of: dollar symbols, commas, and periods.) e.g.: `1234` - Cards above `1234` will be skipped. | @@ -290,6 +291,7 @@ environment variables are **optional**._ | `AMD RX 6800` | `rx6800` | | `AMD RX 6800XT` | `rx6800xt` | | `AMD RX 6900XT` | `rx6900xt` | +| `Nvidia RTX 3060 Ti` | `3060ti` | | `Nvidia RTX 3070` | `3070` | | `Nvidia RTX 3080` | `3080` | | `Nvidia RTX 3090` | `3090` | diff --git a/src/config.ts b/src/config.ts index 099e807..b23bb22 100644 --- a/src/config.ts +++ b/src/config.ts @@ -308,7 +308,7 @@ const store = { country: envOrString(process.env.COUNTRY, 'usa'), maxPrice: { series: { - 3060: envOrNumber(process.env.MAX_PRICE_SERIES_3060), + '3060ti': envOrNumber(process.env.MAX_PRICE_SERIES_3060TI), 3070: envOrNumber(process.env.MAX_PRICE_SERIES_3070), 3080: envOrNumber(process.env.MAX_PRICE_SERIES_3080), 3090: envOrNumber(process.env.MAX_PRICE_SERIES_3090), @@ -337,7 +337,7 @@ const store = { }; }), showOnlySeries: envOrArray(process.env.SHOW_ONLY_SERIES, [ - '3060', + '3060ti', '3070', '3080', '3090', diff --git a/src/store/model/bestbuy.ts b/src/store/model/bestbuy.ts index b5270b9..bc1be0f 100644 --- a/src/store/model/bestbuy.ts +++ b/src/store/model/bestbuy.ts @@ -18,7 +18,7 @@ export const BestBuy: Store = { model: 'test:model', series: 'test:series', url: - 'https://www.bestbuy.com/site/evga-ko-ultra-gaming-nvidia-geforce-rtx-2060-6gb-gddr6-pci-express-3-0-graphics-card-black-gray/6403801.p?skuId=6403801&intl=nosplash' + 'https://www.bestbuy.com/site/evga-sc-ultra-gaming-nvidia-geforce-gtx-1660-ti-6gb-gddr6-pci-express-3-0-graphics-card-black-gray/6373500.p?skuId=6373500&intl=nosplash' }, { brand: 'nvidia', @@ -426,7 +426,7 @@ export const BestBuy: Store = { brand: 'nvidia', cartUrl: 'https://api.bestbuy.com/click/-/6439402/cart', model: 'founders edition', - series: '3060', + series: '3060ti', url: 'https://www.bestbuy.com/site/nvidia-geforce-rtx-3060-ti-8gb-gddr6-pci-express-4-0-graphics-card-steel-and-black/6439402.p?skuId=6439402&intl=nosplash' }, @@ -434,7 +434,7 @@ export const BestBuy: Store = { brand: 'gigabyte', cartUrl: 'https://api.bestbuy.com/click/-/6442484/cart', model: 'gaming oc', - series: '3060', + series: '3060ti', url: 'https://www.bestbuy.com/site/gigabyte-nvidia-geforce-rtx-3060-ti-gaming-oc-8g-gddr6-pci-express-4-0-graphics-card-black/6442484.p?skuId=6442484&intl=nosplash' }, @@ -442,7 +442,7 @@ export const BestBuy: Store = { brand: 'gigabyte', cartUrl: 'https://api.bestbuy.com/click/-/6442485/cart', model: 'eagle oc', - series: '3060', + series: '3060ti', url: 'https://www.bestbuy.com/site/gigabyte-nvidia-geforce-rtx-3060-ti-eagle-oc-8g-gddr6-pci-express-4-0-graphics-card-black/6442485.p?skuId=6442485&intl=nosplash' }, @@ -450,7 +450,7 @@ export const BestBuy: Store = { brand: 'msi', cartUrl: 'https://api.bestbuy.com/click/-/6441172/cart', model: 'ventus 2x oc', - series: '3060', + series: '3060ti', url: 'https://www.bestbuy.com/site/msi-geforce-rtx-3060-ti-ventus-2x-oc-bv-8gb-gddr6-pci-express-4-0-graphics-card-black-black/6441172.p?skuId=6441172&intl=nosplash' } diff --git a/src/store/model/store.ts b/src/store/model/store.ts index e46de35..c1300bc 100644 --- a/src/store/model/store.ts +++ b/src/store/model/store.ts @@ -34,7 +34,7 @@ export type Brand = export type Series = | 'test:series' - | '3060' + | '3060ti' | '3070' | '3080' | '3090'