Skip to content

Commit

Permalink
fix(newegg): false positives (all stores) (jef#1714)
Browse files Browse the repository at this point in the history
  • Loading branch information
wofnull authored and erwinc1 committed Mar 31, 2021
1 parent 50e0147 commit af085e3
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 3 deletions.
12 changes: 11 additions & 1 deletion src/store/model/newegg-ca.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,17 @@ export const NeweggCa: Store = {
container:
'div#app div.product-price > ul > li.price-current > strong',
euroFormat: false
}
},
outOfStock: [
{
container: '.product-inventory',
text: [' out of stock.']
},
{
container: '.product-flag',
text: ['out of stock ']
}
]
},
links: [
{
Expand Down
12 changes: 11 additions & 1 deletion src/store/model/newegg-sg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,17 @@ export const NeweggSg: Store = {
],
maxPrice: {
container: '.price-current'
}
},
outOfStock: [
{
container: '.product-inventory',
text: [' out of stock.']
},
{
container: '.product-flag',
text: ['out of stock ']
}
]
},
links: [
{
Expand Down
12 changes: 11 additions & 1 deletion src/store/model/newegg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,17 @@ export const Newegg: Store = {
],
maxPrice: {
container: '.price-current'
}
},
outOfStock: [
{
container: '.product-inventory',
text: [' out of stock.']
},
{
container: '.product-flag',
text: ['out of stock ']
}
]
},
links: [
{
Expand Down

0 comments on commit af085e3

Please sign in to comment.