From aa7b506bac610d5dfb2381d3bc0ecfa66c16c691 Mon Sep 17 00:00:00 2001 From: Lukas Anzinger Date: Tue, 26 Jul 2016 18:45:32 +0200 Subject: Update futurezone.at and heise.de (#188) * futurezone.at: Update site config. * heise.de: Fix extraction of author and single page link. --- heise.de.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'heise.de.txt') diff --git a/heise.de.txt b/heise.de.txt index 9a472ae..71faa87 100755 --- a/heise.de.txt +++ b/heise.de.txt @@ -5,7 +5,7 @@ prune: no title: //article/h1 | //h1 date: //p[@class='news_datum'] -author: //h4[@class='author'] +author: //span[@class='author'] body: //article | //div[@class='meldung_wrapper'] @@ -46,7 +46,7 @@ replace_string(): replace_string():
-single_page_link: //footer//a[contains(@href, '?view=print')] +single_page_link: //a[contains(@href, '?view=print')] next_page_link: //a[@class='next'] next_page_link: //a[@title='vor'] @@ -54,3 +54,4 @@ next_page_link: //a[@title='vor'] test_url: http://www.heise.de/open/artikel/Die-Neuerungen-von-Linux-3-15-2196231.html test_url: http://m.heise.de/open/artikel/Die-Neuerungen-von-Linux-3-15-2196231.html test_url: http://www.heise.de/newsticker/meldung/Ueberwachungstechnik-Die-globale-Handy-Standortueberwachung-2301494.html +test_url: http://www.heise.de/newsticker/meldung/Bodenradar-fuer-selbstfahrende-Autos-horcht-unter-die-Strasse-3273941.html -- cgit v1.3.1