Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(store): addition of several australian sites #1651

Merged
merged 16 commits into from
Jan 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion docs/reference/filter.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ Used with the `STORES` variable.
| AComPC | DE | `acompc` |
| Adorama | US | `adorama`|
| Akinformatica | IT | `akinformatica`|
| Allneeds | AU | `allneeds`|
| Alternate | DE | `alternate`|
| Alternate | NL | `alternate-nl`|
| Amazon | US | `amazon`|
Expand Down Expand Up @@ -78,13 +79,15 @@ Used with the `STORES` variable.
| CCL | UK | `ccl`|
| Centrecom | AU | `centrecom`|
| Comet | IT | `comet`|
| ComputerAlliance | AU | `computeralliance`|
| Computeruniverse | DE | `computeruniverse` |
| Coolblue | NL | `coolblue`|
| Coolmod | ES | `coolmod`|
| Corsair | US | `corsair`|
| CPL | AU | `cpl`|
| Currys | UK | `currys`|
| Cyberport | DE | `cyberport` |
| DComp | AU | `dcomp`|
| Drako | IT | `drako` |
| EBGames | CA | `ebgames`|
| eBuyer | UK | `ebuyer`|
Expand All @@ -93,6 +96,7 @@ Used with the `STORES` variable.
| Euronics | IT | `euronics`|
| Euronics | DE | `euronics-de`|
| Equippr | DE | `equippr`|
| Evatech | AU | `evatech`|
| EVGA | US | `evga`|
| EVGA | EU | `evga-eu`|
| Expert | DE | `expert`|
Expand All @@ -103,16 +107,20 @@ Used with the `STORES` variable.
| Gamestop | DE | `gamestop-de`|
| Gamestop | IE | `gamestop-ie`|
| Gamestop | IT | `gamestop-it`|
| HarrisTechnology | AU | `harristechnology`|
| Harvey Normans | IE | `harveynorman-ie` |
| Hardware Planet | IT | | `hardware-planet` |
| Harvey Normans | IE | | `harveynorman-ie` |
| iGame Computer | AU | `igame-computer`|
| John Lewis | UK | `johnlewis`|
| Kabum | BR | `kabum`|
| Landmark Computers | AU | `landmark-computers`|
| Mediamarkt | DE | `mediamarkt`|
| Medimax | DE | `medimax`|
| Megekko | NL | `megekko`|
| MemoryExpress | CA | `memoryexpress`|
| Micro Center | US | `microcenter`|
| Mindfactory | DE | `mindfactory` |
| MSY | AU | `msy`|
| Mwave | AU | `mwave`|
| Newegg | US | `newegg`|
| Newegg | CA | `newegg-ca`|
Expand All @@ -125,20 +133,26 @@ Used with the `STORES` variable.
| Ollo | IT | `ollo`|
| Otto | DE | `otto`|
| Overclockers | UK | `overclockers`|
| PBTech | AU | `pbtech`|
| PCByte | AU | `pcbyte`|
| PCCG | AU | `pccg`|
| PCComponentes | ES | `pccomponentes`|
| PCKing | DE | `pcking` |
| PlayStation | US | `playstation`|
| PNY | US | `pny`|
| Proshop | DE | `proshop-de`|
| Proshop | DK | `proshop-dk`|
| Rosman | AU | `rosman`|
| Rosman-Melb | AU | `rosman-melb`|
| Saturn | DE | `saturn`|
| Save On It | AU | `saveonit`|
| Scan | UK | `scan`|
| Scorptec | AU | `scorptec`|
| ShopTo | UK | `shopto`|
| Smyths Toys | UK | `smythstoys`|
| Smyths Toys | IE | `smythstoys-ie`|
| Spielegrotte | DE | `spielegrotte`|
| Storm Computers | AU | `storm-computer`|
| Target | US | `target`|
| Tesco | IE | `tesco-ie`|
| Toys R Us | US | `toysrus` |
Expand All @@ -148,6 +162,7 @@ Used with the `STORES` variable.
| Vuugo | CA | `vuugo` |
| Walmart | US | `walmart`|
| Walmart | CA | `walmart-ca`|
| Wells Technology | AU | `wellstechnology`|
| Wipoid | ES | `wipoid`|
| Zotac | US | `zotac`|
| TopAchat | GR | `topachat`|
Expand Down
64 changes: 64 additions & 0 deletions src/store/model/allneeds.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
import {Store} from './store';

export const Allneeds: Store = {
backoffStatusCodes: [403, 429],
currency: '$',
labels: {
inStock: {
container: '.amstockstatus',
text: ['In Stock']
},
maxPrice: {
container: 'span.price',
euroFormat: false
},
outOfStock: {
container: '.amstockstatus',
text: ['sold out']
}
},
links: [
{
brand: 'asus',
model: 'strix oc white',
series: '3080',
url:
'https://allneeds.com.au/asus-geforce-rtx-3080-rog-strix-gaming-oc-10gb-video-card-white-edition-limited-edition'
},
{
brand: 'sapphire',
model: 'nitro+',
series: 'rx6900xt',
url:
'https://allneeds.com.au/sapphire-nitro-radeon-rx-6900-xt-16gb-video-card-11308-01-20g'
},
{
brand: 'amd',
model: '5950x',
series: 'ryzen5950',
url:
'https://allneeds.com.au/amd-ryzen-9-5950x-processor-100-100000059wof'
},
{
brand: 'amd',
model: '5900x',
series: 'ryzen5900',
url:
'https://allneeds.com.au/amd-ryzen-9-5900x-processor-100-100000061wof'
},
{
brand: 'amd',
model: '5800x',
series: 'ryzen5800',
url: 'https://allneeds.com.au/amd-ryzen-7-5800x-processor'
},
{
brand: 'amd',
model: '5600x',
series: 'ryzen5600',
url:
'https://allneeds.com.au/amd-ryzen-5-5600x-with-wraith-stealth-100-100000065box'
}
],
name: 'allneeds'
};
Loading