diff --git a/README.md b/README.md index 1c5705cfda..b21e6a4ac3 100644 --- a/README.md +++ b/README.md @@ -28,11 +28,11 @@ The purpose of this bot is to get an Nvidia card. It tries multiple things to do > :point_right: You may get false positives from time to time, so I apologize for that. The library currently waits for all calls to be completed before parsing, but sometimes this can have unknown behavior. Patience is a virtue :) -| | **Amazon** | **ASUS** | **EVGA** | **Best Buy** | **B&H** | **Micro Center** | **Newegg** | **Nvidia** | -|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:| -| **3070**| | | | | | | | | -| **3080** | `✔` | `✔` | `✔` | `✔` | `✔` | `✔` | `✔` | `✔` | -| **3090** | | | | | | | | | +| | **Adorama** | **Amazon** | **ASUS** | **EVGA** | **Best Buy** | **B&H** | **Micro Center** | **Newegg** | **Nvidia** | +|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:| +| **3070**| | | | | | | | | | +| **3080** | `✔` | `✔` | `✔` | `✔` | `✔` | `✔` | `✔` | `✔` | `✔` | +| **3090** | | | | | | | | | | ## Installation and prerequisites @@ -88,10 +88,11 @@ Here is a list of variables that you can use to customize your newly copied `.en | **Stores** | **Environment variable** | |:---:|:---:| -| Best Buy | `bestbuy`| +| Adorama | `adorama`| | Amazon | `amazon`| | Amazon.ca | `amazon-ca`| | ASUS | `asus` | +| Best Buy | `bestbuy`| | B&H | `bandh`| | EVGA | `evga`| | Micro Center | `microcenter`| diff --git a/src/store/model/adorama.ts b/src/store/model/adorama.ts new file mode 100644 index 0000000000..72af003077 --- /dev/null +++ b/src/store/model/adorama.ts @@ -0,0 +1,63 @@ +import {Store} from './store'; + +export const Adorama: Store = { + links: [ + { + 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'] + }, + { + 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'] + }, + { + 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'] + }, + { + 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'] + }, + { + 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'] + }, + { + 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'] + }, + { + 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'] + }, + { + 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'] + } + ], + name: 'adorama' +}; diff --git a/src/store/model/index.ts b/src/store/model/index.ts index fbee42eba2..18bb4da059 100644 --- a/src/store/model/index.ts +++ b/src/store/model/index.ts @@ -1,3 +1,5 @@ + +import {Adorama} from './adorama'; import {Amazon} from './amazon'; import {AmazonCa} from './amazon-ca'; import {Asus} from './asus'; @@ -11,6 +13,7 @@ import {Nvidia} from './nvidia'; import {Store} from './store'; const masterList = new Map([ + [Adorama.name, Adorama], [Amazon.name, Amazon], [AmazonCa.name, AmazonCa], [Asus.name, Asus],