summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrubbl <github@linux4tw.de>2016-12-02 07:36:51 +0100
committerFiveFilters.org <fivefilters@fivefilters.org>2016-12-02 07:36:51 +0100
commit219501790998ff9d71bf70e81f4bd148984bf990 (patch)
tree3d834d16cd1cde88fb86104cb7468b91fbe3a5c9
parentc3f132d73654ffd988645248cd0bfe6a69aa0d73 (diff)
downloadftr-site-config-219501790998ff9d71bf70e81f4bd148984bf990.tar.gz
ftr-site-config-219501790998ff9d71bf70e81f4bd148984bf990.zip
fixes retrieving title in heise autos (#226)
adds a new test url pointing to a heise autos article, which is http://heise.de/-3527918 and gets resolved to https://www.heise.de/autos/artikel/China-Sondersteuer-auf-besonders-teure-Autos-3527918.html?view=print The latter contains an h1 tag, which does not include the real title of the article, but instead the date of the article: <h1><span class="untertitel">01.12.2016</span></h1> Removing the title param from this config fixes this issue, also not destroying fetching title of other heise.de test_urls and keeping those intact.
-rwxr-xr-xheise.de.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/heise.de.txt b/heise.de.txt
index dd254bd..5bca8ac 100755
--- a/heise.de.txt
+++ b/heise.de.txt
@@ -3,7 +3,6 @@
prune: no
-title: //article/h1 | //h1
date: //p[@class='news_datum']
author: //span[@class='author']
@@ -59,3 +58,4 @@ test_url: http://www.heise.de/newsticker/meldung/Ueberwachungstechnik-Die-global
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
+test_url: http://heise.de/-3527918