feat: memoryexpress website support (#717)

Adding MemoryExpress website in Canada. Only track the online store
stock for now. Might add the stores stock later like microcenter.
Only track Ryzen 5000-series for now because RTX 3000-series is only
available in store backorder.

Co-authored-by: Omelette Du Fromage <lavrenti.rogoff@gmail.com>
Co-authored-by: Jef LeCompte <jeffreylec@gmail.com>
This commit is contained in:
Omelette Du Fromage
2020-11-09 01:18:49 -05:00
committed by GitHub
parent 38937f6880
commit c02241c752
3 changed files with 51 additions and 0 deletions
+48
View File
@@ -0,0 +1,48 @@
import {Store} from './store';
export const MemoryExpress: Store = {
labels: {
maxPrice: {
container: '#ProductPricing .GrandTotal.c-capr-pricing__grand-total > div',
euroFormat: false
},
outOfStock: {
container: '.c-capr-inventory-selector__details-online .c-capr-inventory-store__availability',
text: ['Out of Stock']
}
},
links: [
{
brand: 'test:brand',
model: 'test:model',
series: 'test:series',
url: 'https://www.memoryexpress.com/Products/MX79473'
},
{
brand: 'amd',
model: '5950x',
series: 'ryzen5950',
url: 'https://www.memoryexpress.com/Products/MX00114450'
},
{
brand: 'amd',
model: '5900x',
series: 'ryzen5900',
url: 'https://www.memoryexpress.com/Products/MX00114451'
},
{
brand: 'amd',
model: '5800x',
series: 'ryzen5800',
url: 'https://www.memoryexpress.com/Products/MX00114452'
},
{
brand: 'amd',
model: '5600x',
series: 'ryzen5600',
url: 'https://www.memoryexpress.com/Products/MX00114455'
}
],
name: 'memoryexpress',
waitUntil: 'domcontentloaded'
};