Skip to content

Commit

Permalink
feat(equippr): add links builder (#2795)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexP11223 authored Oct 7, 2021
1 parent ca784c8 commit e631d80
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions src/store/model/equippr.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import {Store} from './store';
import {getProductLinksBuilder} from './helpers/card';

export const Equippr: Store = {
currency: '€',
Expand Down Expand Up @@ -97,4 +98,42 @@ export const Equippr: Store = {
},
],
name: 'equippr',
linksBuilder: {
builder: getProductLinksBuilder({
productsSelector: '.product--box',
sitePrefix: 'https://www.equippr.de/',
titleSelector: 'a.product--title',
}),
ttl: 1,
urls: [
{
series: '3060',
url: 'https://www.equippr.de/computer-elektronik/pc-komponenten/grafikkarten/nvidia-geforce-rtx/?p=1&o=8&n=120&f=67374',
},
{
series: '3060ti',
url: 'https://www.equippr.de/computer-elektronik/pc-komponenten/grafikkarten/nvidia-geforce-rtx/?p=1&o=8&n=120&f=66256',
},
{
series: '3070',
url: 'https://www.equippr.de/computer-elektronik/pc-komponenten/grafikkarten/nvidia-geforce-rtx/?p=1&o=8&n=120&f=66230',
},
{
series: '3070ti',
url: 'https://www.equippr.de/computer-elektronik/pc-komponenten/grafikkarten/nvidia-geforce-rtx/?p=1&o=8&n=120&f=69119',
},
{
series: '3080',
url: 'https://www.equippr.de/computer-elektronik/pc-komponenten/grafikkarten/nvidia-geforce-rtx/?p=1&o=8&n=120&f=66221',
},
{
series: '3080ti',
url: 'https://www.equippr.de/computer-elektronik/pc-komponenten/grafikkarten/nvidia-geforce-rtx/?p=1&o=8&n=120&f=69117',
},
{
series: '3090',
url: 'https://www.equippr.de/computer-elektronik/pc-komponenten/grafikkarten/nvidia-geforce-rtx/?p=1&o=8&n=120&f=66208',
},
],
},
};

0 comments on commit e631d80

Please sign in to comment.