From 17c13978e76f92c197fda1fb62255adb875d0946 Mon Sep 17 00:00:00 2001 From: Marmo Date: Sun, 9 Oct 2016 20:16:22 +0200 Subject: Updated heise.de.txt to work with articles from heise.de/tp and heise.de/ct (#209) * Update heise.de.txt for telepolis-articles Added single_page_link for printing versions in articles at heise.de/tp/ * Update heise.de.txt for ct-articles in articles at heise.de/ct there is no print/single-page-link, so a next_page_link is needed --- heise.de.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/heise.de.txt b/heise.de.txt index 71faa87..dd254bd 100755 --- a/heise.de.txt +++ b/heise.de.txt @@ -47,11 +47,15 @@ replace_string():
single_page_link: //a[contains(@href, '?view=print')] +single_page_link: //a[contains(@title, 'Druck')] next_page_link: //a[@class='next'] next_page_link: //a[@title='vor'] +next_page_link: //a[@rel='next'] 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 +test_url: http://www.heise.de/tp/artikel/49/49473/1.html +test_url: http://www.heise.de/ct/artikel/Die-Neuerungen-von-Linux-3-15-2196231.html -- cgit v1.3.1