From ad0eccb4cd7fe4a1c463073e554d56b3398ca63b Mon Sep 17 00:00:00 2001 From: Marmo Date: Sat, 11 Oct 2014 15:22:53 +0200 Subject: [PATCH] update heise.de.txt Multi-page Telepolis-articles (www.heise.de/tp/...) are not fetched correctly atm. My addition to the single_page_link makes it work (tested with http://www.heise.de/tp/artikel/42/42579/1.html). --- inc/3rdparty/site_config/standard/heise.de.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/inc/3rdparty/site_config/standard/heise.de.txt b/inc/3rdparty/site_config/standard/heise.de.txt index c51af56..37a4aaf 100755 --- a/inc/3rdparty/site_config/standard/heise.de.txt +++ b/inc/3rdparty/site_config/standard/heise.de.txt @@ -1,7 +1,9 @@ -single_page_link: //p[@class='news_option']/a +#second part of single_page_link for telepolis-articles (desktop-version of site) +single_page_link: //p[@class='news_option']/a | //a[@id='tp-druckversion'] date: //p[@class='news_datum'] title: //h1 body: //div[@class='meldung_wrapper'] -test_url: http://www.heise.de/newsticker/meldung/Europa-soll-Grundrechteschutz-im-Netz-staerken-1392664.html \ No newline at end of file +test_url: http://www.heise.de/newsticker/meldung/Europa-soll-Grundrechteschutz-im-Netz-staerken-1392664.html +test_url: http://www.heise.de/tp/artikel/42/42579/1.html