-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkino_burg.js
36 lines (34 loc) · 869 Bytes
/
kino_burg.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
const CrawlE = require("crawl-e/v0.5.2");
let crawlE = new CrawlE({
cinemas: [
{
name: "Burg Kino",
address: "Opernring 19, 1010 Vienna, Austria",
website: "https://www.burgkino.at/showtimes",
phone: "+43 1 587 8406",
},
],
showtimes: {
url: "https://www.burgkino.at/showtimes/this-week",
movies: {
box: ".views-row",
title: "article > div > div > h2",
dates: {
box: ".views-element-container",
date: {
selector: ".views-field-field-startdatetime time",
attribute: 'datetime'
},
showtimes: {
box: ".views-field-field-startdatetime-1",
time: "time",
timeFormat: "HH:mm",
auditorium: {
selector: '.views-field-field-room-name'
}
},
},
},
},
});
crawlE.crawl();