forked from pirxpilot/liftie
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
3,156 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
module.exports = { | ||
selector: | ||
'.lift-status-pop-in:contains(Lifts) + .lifts-and-trails-subsection .lift-status-datum', | ||
parse: { | ||
name: '1', | ||
status: { | ||
child: '2/0/1', | ||
attribute: 'fill', | ||
fn: (s) => { | ||
switch (s) { | ||
case '#1ABC9C': | ||
return 'open'; | ||
case '#ED2559': | ||
return 'closed'; | ||
} | ||
}, | ||
}, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"name": "Val d'Isere", | ||
"url": { | ||
"host": "https://www.seevaldisere.com", | ||
"pathname": "/lifts/status" | ||
}, | ||
"tags": [ | ||
"France", | ||
"Alps" | ||
], | ||
"ll": [ | ||
6.97732, | ||
45.44627 | ||
] | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
const lifts = require('../lifts'); | ||
|
||
lifts('valdisere', 'html', { | ||
Funival: 'open', | ||
'Tph Olympique': 'closed', | ||
'Tc Daille': 'closed', | ||
'Tsd Bellevarde': 'closed', | ||
'Tsd Borsat': 'closed', | ||
'Tsd Loyes': 'closed', | ||
'Tsd Marmottes': 'closed', | ||
'Ts Fontaine': 'closed', | ||
'Ts Grand Pre': 'closed', | ||
'Ts Mont Blanc': 'closed', | ||
'Tk Lanches': 'closed', | ||
'Tk Slalom': 'closed', | ||
'Tk Snowpark': 'closed', | ||
'Tapis Carpe Diem': 'closed', | ||
'Tph Fornet': 'closed', | ||
'Tc Vallon': 'closed', | ||
'Tsd Laisinant': 'closed', | ||
'Tsd Pyramides': 'closed', | ||
'Tk Col': 'closed', | ||
'Tk Signal': 'closed', | ||
'Tsd Cascades': 'closed', | ||
'Ts Cema': 'closed', | ||
'Tk Montets': 'closed', | ||
'Tk Pays Desert': 'closed', | ||
'Tc Solaise': 'closed', | ||
'Tsd Glacier': 'closed', | ||
'Tsd Leissieres': 'closed', | ||
'Tsd Madeleine': 'closed', | ||
'Tsd Manchet': 'closed', | ||
'Ts Cugnai': 'closed', | ||
'Ts Datcha': 'closed', | ||
'Ts Rogoney': 'closed', | ||
'Ts Village': 'closed', | ||
'Tk 3000': 'closed', | ||
'Tk Legettaz': 'closed', | ||
'Tk Savonette': 'closed', | ||
'Tapis Pim Pam': 'closed', | ||
'Tapis Poum': 'closed', | ||
}); |