rules.json 3.47 KB
Newer Older
Kiste's avatar
Kiste committed
1
2
3
4
5
6
7
8
9
10
11
{
  "https://www.golem.de/news/.*": {
    "decompose": [
      "header[class='cluster-header'] > h1",
      "script",
      "style",
      "figure",
      "table",
      "div[id='iqadtile4']",
      "a[class='golem-gallery2-nojs']",
      "ol[class='list-pages']",
Kiste's avatar
Fix    
Kiste committed
12
      "noscript",
Kiste's avatar
Kiste committed
13
14
15
16
17
      "div[class='golem_tablediv']",
      "div[class*='authors']",
      "ul[class*='social-tools']",
      "section[class='supplementary']",
      "div[class='tags']",
Kiste's avatar
Kiste committed
18
19
      "div[class='toc']",
      "iframe"
Kiste's avatar
Kiste committed
20
21
22
23
24
25
26
27
28
29
    ],
    "unwrap": [
      "a[class*='golem-internal-url']",
      "div",
      "header"
    ],
    "comments": "section[id='comments'] > div[class='dh1']",
    "article": "article",
    "next": "a[id='atoc_next']"
  },
Kiste's avatar
Kiste committed
30
  "https://www.heise.de/(|(newsticker|security|mac-and-i)/)meldung/.*": {
Kiste's avatar
Kiste committed
31
    "article": "article",
Kiste's avatar
page    
Kiste committed
32
33
34
35
36
37
    "reformat": [
        {
            "search": "html?.+=.+",
            "replace": "html?seite=all"
        }
    ],
Kiste's avatar
Kiste committed
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
    "decompose": [
        "div[class='publish-info']",
        "h2[class='article__heading']",
        "div[class='creator-info']",
        "figure",
        "script",
        "noscript",
        "style",
        "aside[class='top-ad-container']",
        "section[class='sidebar']",
        "div[class*='akwa-ad-container']",
        "a[name='meldung.newsticker.bottom.zurstartseite']",
        "aside[class='akwa-ad-container']",
        "a-paternoster",
        "a-script",
        "a-collapse",
Kiste's avatar
Kiste committed
54
        "div[class*='gallery']",
Kiste's avatar
Kiste committed
55
56
57
58
59
        "a[class='pvg-icon-link']",
        "p[class='beitragsfooter_themen_foren']",
        "div[class*='shariff']",
        "a[class='beitragsfooter_permalink']",
        "a[class='beitragsfooter_printversion']",
Kiste's avatar
lalala    
Kiste committed
60
61
        "aside[class='beitragsfooter-themenseiten']".,
        "section[class='widget-werbung']"
Kiste's avatar
Kiste committed
62
63
    ]
  },
Kiste's avatar
Kiste committed
64
  "https://www.heise.de/((foto|ix|make)/meldung|(make|security)/artikel)/.*": {
Kiste's avatar
Kiste committed
65
    "article": "div[class='article-content']",
Kiste's avatar
Kiste committed
66
    "comments": "footer[class='beitragsfooter']",
Kiste's avatar
Kiste committed
67
68
    "reformat": [
      {
Kiste's avatar
Better?    
Kiste committed
69
70
        "search": "html?.+=.+",
        "replace": "html?seite=all"
Kiste's avatar
Kiste committed
71
72
73
74
75
76
77
78
79
80
      }
    ],
    "decompose": [
      "figure",
      "style",
      "script",
      "div[class*='gallery']",
      "div[class*='akwa-inline-textbox']",
      "noscript",
      "section[class='widget-werbung']",
Kiste's avatar
Kiste committed
81
      "span[class='bild_zentriert']",
Kiste's avatar
Kiste committed
82
83
84
      "nav[class='pre-akwa-toc']",
      "nav[class*='seitenweise_navigation']",
      "div[class*='shariff']",
Kiste's avatar
Whoops    
Kiste committed
85
86
      "aside[class='akwa-ad-container']",
      "div[class*='akwa-ad-container']",
Kiste's avatar
Kiste committed
87
      "aside[class='a-pvg']",
Kiste's avatar
Kiste committed
88
      "iframe",
Kiste's avatar
Llala    
Kiste committed
89
90
91
92
      "div[class*='a-inline-textbox']",
      "div[id='share-target']",
      "div[id='subscribe-target']",
      "aside[class='topics']",
Kiste's avatar
Kiste committed
93
      "aside[class*='pvg-techdata']",
Kiste's avatar
Kiste committed
94
95
96
97
      "p[class='beitragsfooter_themen_foren']",
      "div[class='shariff clear']",
      "a[class='beitragsfooter_permalink']",
      "a[class='beitragsfooter_printversion']",
Kiste's avatar
Kiste committed
98
99
100
101
      "aside[class='beitragsfooter-themenseiten']",
      "a-pvg",
      "header[class='a-pvg-header']",
      "section[class='a-pvg__body']"
Kiste's avatar
Kiste committed
102
103
    ],
    "next": "a[class='seite_weiter']"
Kiste's avatar
Kiste committed
104
105
106
107
108
109
110
111
112
113
114
115
116
117
  },
  "https://www.heise.de/developer/meldung/.*": {
    "article": "article",
    "decompose": [
      "figure",
      "div[class='publish-info']",
      "div[class*='bcadv']",
      "script",
      "noscript",
      "aside",
      "div[class*='adbottom']",
      "h2[class='article__heading']",
      "nav[class='article-footer__foren']",
      "div[class='article-footer_shariff']",
Kiste's avatar
Kiste committed
118
119
      "div[class*='akwa-ad-container']",
      "iframe"
Kiste's avatar
Kiste committed
120
    ]
Kiste's avatar
Kiste committed
121
  }
Kiste's avatar
Kiste committed
122
}