mirror of
https://github.com/opelly27/streetmerchant.git
synced 2026-05-20 05:17:35 +00:00
feat(store): add pny (#295)
This commit is contained in:
@@ -30,11 +30,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 :)
|
> :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 :)
|
||||||
|
|
||||||
| | **Adorama** | **Amazon** | **Amazon (CA)** | **ASUS** | **B&H** | **Best Buy** | **Best Buy (CA)** | **EVGA** | **Micro Center** | **Newegg** | **Newegg (CA)** | **Nvidia** | **Office Depot** | **Zotac** |
|
| | **Adorama** | **Amazon** | **Amazon (CA)** | **ASUS** | **B&H** | **Best Buy** | **Best Buy (CA)** | **EVGA** | **Micro Center** | **Newegg** | **Newegg (CA)** | **Nvidia** | **Office Depot** | **PNY** | **Zotac** |
|
||||||
|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|
|
|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|
|
||||||
| **3070**| | | | | | | | | | | | | | |
|
| **3070**| | | | | | | | | | | | | | `✔` | |
|
||||||
| **3080** | `✔` | `✔` | `✔` | `✔` | `✔` | `✔` | `✔` | `✔` | `✔` | `✔` | `✔` | `✔` | `✔` | `✔` |
|
| **3080** | `✔` | `✔` | `✔` | `✔` | `✔` | `✔` | `✔` | `✔` | `✔` | `✔` | `✔` | `✔` | `✔` | `✔` | `✔` |
|
||||||
| **3090** | `✔` | `✔` | `✔` | `✔` | `✔` | `✔` | `✔` | `✔` | | `✔` | `✔` | `✔` | | `✔` |
|
| **3090** | `✔` | `✔` | `✔` | `✔` | `✔` | `✔` | `✔` | `✔` | | `✔` | `✔` | `✔` | | `✔` | `✔` |
|
||||||
|
|
||||||
## Installation and prerequisites
|
## Installation and prerequisites
|
||||||
|
|
||||||
@@ -136,6 +136,7 @@ Here is a list of variables that you can use to customize your newly copied `.en
|
|||||||
| Nvidia | `nvidia`|
|
| Nvidia | `nvidia`|
|
||||||
| Nvidia (API) | `nvidia-api`|
|
| Nvidia (API) | `nvidia-api`|
|
||||||
| Office Depot | `officedepot`|
|
| Office Depot | `officedepot`|
|
||||||
|
| PNY | `pny`|
|
||||||
| Zotac | `zotac`|
|
| Zotac | `zotac`|
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ import {NeweggCa} from './newegg-ca';
|
|||||||
import {Nvidia} from './nvidia';
|
import {Nvidia} from './nvidia';
|
||||||
import {NvidiaApi} from './nvidia-api';
|
import {NvidiaApi} from './nvidia-api';
|
||||||
import {OfficeDepot} from './officedepot';
|
import {OfficeDepot} from './officedepot';
|
||||||
|
import {Pny} from './pny';
|
||||||
import {Store} from './store';
|
import {Store} from './store';
|
||||||
import {Zotac} from './zotac';
|
import {Zotac} from './zotac';
|
||||||
|
|
||||||
@@ -38,6 +39,7 @@ const masterList = new Map([
|
|||||||
[Nvidia.name, Nvidia],
|
[Nvidia.name, Nvidia],
|
||||||
[NvidiaApi.name, NvidiaApi],
|
[NvidiaApi.name, NvidiaApi],
|
||||||
[OfficeDepot.name, OfficeDepot],
|
[OfficeDepot.name, OfficeDepot],
|
||||||
|
[Pny.name, Pny],
|
||||||
[Zotac.name, Zotac]
|
[Zotac.name, Zotac]
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,56 @@
|
|||||||
|
import {Store} from './store';
|
||||||
|
|
||||||
|
export const Pny: Store = {
|
||||||
|
labels: {
|
||||||
|
inStock: {
|
||||||
|
container: '#ctl01_lbtnAddToCart',
|
||||||
|
text: ['add to cart']
|
||||||
|
}
|
||||||
|
},
|
||||||
|
links: [
|
||||||
|
{
|
||||||
|
brand: 'test:brand',
|
||||||
|
model: 'test:model',
|
||||||
|
series: 'test:series',
|
||||||
|
url: 'https://www.pny.com/pny-geforce-gtx-1660-super-gaming-oc-sf'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'pny',
|
||||||
|
model: 'dual fan',
|
||||||
|
series: '3070',
|
||||||
|
url: 'https://www.pny.com/pny-geforce-rtx-3070-8gb-df'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'pny',
|
||||||
|
model: 'xlr8 rgb',
|
||||||
|
series: '3070',
|
||||||
|
url: 'https://www.pny.com/geforce-rtx-3070-xlr8-gaming-epic-x-rgb-triple-fan'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'pny',
|
||||||
|
model: 'xlr8 rgb',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.pny.com/geforce-rtx-3080-xlr8-gaming-epic-x-rgb-triple-fan-m'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'pny',
|
||||||
|
model: 'xlr8 rgb',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.pny.com/geforce-rtx-3080-xlr8-gaming-epic-x-rgb-triple-fan-p'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'pny',
|
||||||
|
model: 'xlr8 rgb',
|
||||||
|
series: '3090',
|
||||||
|
url: 'https://www.pny.com/geforce-rtx-3090-xlr8-gaming-epic-x-rgb-triple-fan-m'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'pny',
|
||||||
|
model: 'xlr8 rgb',
|
||||||
|
series: '3090',
|
||||||
|
url: 'https://www.pny.com/geforce-rtx-3090-xlr8-gaming-epic-x-rgb-triple-fan-p'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
name: 'pny'
|
||||||
|
};
|
||||||
|
|
||||||
Reference in New Issue
Block a user