-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.example.json
50 lines (50 loc) · 1.34 KB
/
config.example.json
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"bookList": {
"url": "http://www.zeit.de/zeit-magazin/essen-trinken/index",
"bookLink": {
"selector": "#main article>div>a",
"type": "attr",
"attr": "href",
"isArray": true
}
},
"chapterUrls": [],
"appendChapterTitles": false,
"language": "de",
"selectors": {
"title": {
"selector": "h1.headline",
"type": "text"
},
"author": {
"selector": ".header-article span[itemprop=author] span[itemprop=name]",
"type": "text",
"isArray": true
},
"cover": {
"selector": ".header-article__media-container img",
"type": "attr",
"attr": "src"
},
"publisher": {
"selector": ".header__publisher svg>title",
"type": "text"
},
"nextLink": {
"selector": ".article-pagination__item:last-child>a",
"type": "attr",
"attr": "href"
},
"content": {
"selector": ".article-page",
"type": "html",
"ignoreSelector": ".ad-container"
}
},
"overrides": {
"title": "",
"chapter": "",
"author": ""
},
"ignoreNextLinks": ["http://www.zeit.de/zeit-magazin/essen-trinken/index?page2"]
}