Skip to content

Commit

Permalink
feat(store): addition of several australian sites (#1651)
Browse files Browse the repository at this point in the history
Co-authored-by: Jef LeCompte <jeffreylec@gmail.com>
  • Loading branch information
wofnull and jef committed Jan 17, 2021
1 parent 122e68a commit 2fa8937
Show file tree
Hide file tree
Showing 18 changed files with 2,058 additions and 1 deletion.
17 changes: 16 additions & 1 deletion docs/reference/filter.md
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
@@ -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'
};

0 comments on commit 2fa8937

Please sign in to comment.