Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
1 parent
38937f6
commit c02241c
Showing
3 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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' | ||
}; |