summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ecowatch.com.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/ecowatch.com.txt b/ecowatch.com.txt
new file mode 100644
index 0000000..b115cc6
--- /dev/null
+++ b/ecowatch.com.txt
@@ -0,0 +1,10 @@
+date: //meta[@property="article:published_time"]/@content
+body: //div[contains(concat(' ',normalize-space(@class),' '),' post-content ')]
+strip_id_or_class: print-no
+strip_id_or_class: subscribe
+strip_id_or_class: pagination
+strip: //p[starts-with(., 'Read page ')]
+
+next_page_link: //link[@rel="next"]
+
+test_url: http://ecowatch.com/2015/09/16/gop-climate-change-denial/ \ No newline at end of file