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
742 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,17 @@ | ||
module.exports = { | ||
selector: 'table:contains("IMPIANTO") tbody tr', | ||
parse: { | ||
name: '1', | ||
status: { | ||
child: '3', | ||
fn: (s) => { | ||
switch (s) { | ||
case 'APERTA': | ||
return 'open'; | ||
case 'CHIUSA': | ||
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,16 @@ | ||
{ | ||
"name": "Campo Felice", | ||
"url": { | ||
"host": "https://www.campofelice.it", | ||
"pathname": "/ita/impianti.php" | ||
}, | ||
"tags": [ | ||
"Italy", | ||
"Appennines", | ||
"Abruzzo" | ||
], | ||
"ll": [ | ||
13.460177207717742, | ||
42.21372813629604 | ||
] | ||
} |
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 @@ | ||
const lifts = require('../lifts'); | ||
|
||
lifts('campo-felice', 'html', { | ||
'Seggiovia Brecciara': 'closed', | ||
'Seggiovia Monterotondo': 'closed', | ||
'Seggiovia Campo Felice': 'closed', | ||
'Seggiovia Cisterna': 'closed', | ||
'Seggiovia Nibbio': 'closed', | ||
'Seggiovia Scuola': 'closed', | ||
'Seggiovia Cerchiare': 'closed', | ||
'Skilift Pista Dick': 'closed', | ||
'Seggiovia Colle Sinistro': 'closed', | ||
'Seggiovia Colle Destro': 'closed', | ||
'Manovia Baby Campo Felice': 'closed', | ||
'Tappeto Innamorati': 'closed', | ||
'Skilift Snow Park': 'closed', | ||
'Tappeto scuola (Snow Tubing)': 'closed', | ||
'Tappeto Scuola Campo Felice': 'closed', | ||
}); |
Oops, something went wrong.