summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrubbl <github@linux4tw.de>2016-12-02 07:37:48 +0100
committerFiveFilters.org <fivefilters@fivefilters.org>2016-12-02 07:37:48 +0100
commit49dd71f35ed83d3652717bd4af23ac2f4da98c79 (patch)
tree5f6fc5159b91bd5c7519b2f2b28378fbf10246f7
parent219501790998ff9d71bf70e81f4bd148984bf990 (diff)
downloadftr-site-config-49dd71f35ed83d3652717bd4af23ac2f4da98c79.tar.gz
ftr-site-config-49dd71f35ed83d3652717bd4af23ac2f4da98c79.zip
fix elektroniknet.de.txt (#225)
-rw-r--r--elektroniknet.de.txt33
1 files changed, 8 insertions, 25 deletions
diff --git a/elektroniknet.de.txt b/elektroniknet.de.txt
index 56fba5f..2485eab 100644
--- a/elektroniknet.de.txt
+++ b/elektroniknet.de.txt
@@ -1,27 +1,10 @@
-title: //h1
-date: //div[@class='datum']
-single_page_link: //a[contains(@href, '?type=99')]
+date: //time
+next_page_link: //li[@class='next']//a
-# this hack preserves the intro text, because it would be striped otherwise if the title is set to //h1
-dissolve: //div[@class='artikelMeldung']
+# 1 page
+test_url: http://www.elektroniknet.de/elektronik-automotive/wirtschaft/aus-quattro-gmbh-wird-audi-sport-136464.html
+test_contains: etwa 1.200 Mitarbeiter an den Standorten Neckarsulm und Ingolstadt
-
-strip_id_or_class: anzeige
-strip_id_or_class: top_page_navigation
-strip_id_or_class: cr_image_container
-strip_id_or_class: cr_image_reference
-strip_id_or_class: cr_image_icon
-strip_id_or_class: _close_txt
-strip_id_or_class: _close_ico
-strip_id_or_class: clearer
-
-strip://h1
-strip://h6
-strip://div[contains(@id, 'plista')]
-strip://img[contains(@id,'tiny')]
-strip://img[@class='cr_image']
-
-# strip url at the top
-strip: //p[@style='font-size: 10px;']
-
-test_url: http://www.elektroniknet.de/automotive/technik-know-how/sicherheitselektronik/article/87717/0/Besser_als_die_Wirklichkeit/ \ No newline at end of file
+# 2 pages
+test_url: http://www.elektroniknet.de/elektronik-automotive/sonstiges/machine-learning-wird-demnaechst-massiv-an-bedeutung-gewinnen-136362.html
+test_contains: Ende 2014 übernahm er seine heutige Position als CEO von MBRDNA