Skip to content

Commit

Permalink
add Matternhorn resort
Browse files Browse the repository at this point in the history
based on #58
  • Loading branch information
pirxpilot committed Oct 14, 2023
1 parent 27de17d commit 600319a
Show file tree
Hide file tree
Showing 4 changed files with 5,315 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/resorts/matternhorn/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
selector: "div.tab-content > div.tab-pane > table > tbody > tr",
parse: {
name: '0/1',
status: '2/1'
}
};
15 changes: 15 additions & 0 deletions lib/resorts/matternhorn/resort.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "Matterhorn",
"url": {
"host": "https://www.matterhornparadise.ch",
"pathname": "/en/Information/Operating-hours/Open-Lifts-and-Pistes"
},
"tags": [
"switzerland",
"alps"
],
"ll": [
7.75,
46.016667
]
}
5,249 changes: 5,249 additions & 0 deletions test/resorts/example/matterhorn.html

Large diffs are not rendered by default.

44 changes: 44 additions & 0 deletions test/resorts/matterhorn.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
const lifts = require('../lifts');

lifts('matterhorn', 'html', {
'Matterhorn Glacier Ride II': 'open',
'Zermatt - Furi (Matterhorn-Express)': 'open',
'Furi - Schwarzsee': 'open',
'Schwarzsee - Furgg': 'open',
'Furgg - Trockener Steg': 'open',
'Matterhorn Glacier Ride': 'open',
'Plateau Rosa 1': 'open',
'Plateau Rosa 2': 'open',
'Plateau Breithorn': 'open',
'Plateau Rosa 3': 'scheduled',
'Furi - Trockener Steg (cable car)': 'closed',
'Trockener Steg - Matterhorn Glacier Paradise': 'closed',
'83 / Plateau Rosa': 'scheduled',
'84 / Ventina Glacier': 'scheduled',
'85 / Kl. Matterhorn': 'scheduled',
'86 / Gobba di Rollin': 'scheduled',
'87 / Verbindungspiste': 'scheduled',
'88 / Pass / Testa II': 'scheduled',
'Gletscher-Palast': 'scheduled',
InfoCube: 'scheduled',
'Panoramic platform': 'scheduled',
'Snow Xperience Plateau Rosa': 'scheduled',
Snowpark: 'scheduled',
'Snowpark - Kicker': 'scheduled',
'Zermatt - Sunnegga': 'open',
'Sunnegga - Blauherd': 'open',
'Blauherd - Rothorn': 'open',
'Leisee-Shuttle': 'open',
Kickbike: 'scheduled',
Mountaincart: 'scheduled',
'Zermatt - Riffelalp': 'open',
'Riffelalp - Riffelberg': 'open',
'Riffelberg - Rotenboden': 'open',
'Rotenboden - Gornergrat': 'open',
'Breuil - Plan Maison': 'open',
'Breuil - Plan Maison II': 'open',
'Plan Maison - Laghi Cime Bianche': 'open',
'Laghi Cime Bianche - Plateau Rosa': 'open',
'Schweiz <-> Italien für Fussgänger': 'scheduled',
'Schweiz <-> Italien für Ski': 'scheduled'
});

0 comments on commit 600319a

Please sign in to comment.