summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gizmodo.com.txt10
-rw-r--r--straightdope.com.txt6
2 files changed, 13 insertions, 3 deletions
diff --git a/gizmodo.com.txt b/gizmodo.com.txt
index b03fc44..e73ec9d 100644
--- a/gizmodo.com.txt
+++ b/gizmodo.com.txt
@@ -1,7 +1,11 @@
-body: //div[@class="post-body" or contains(@class, 'illustration top')]
-author: (//cite//span[@class="plus-icon"])[1]
+#body: //div[@class="post-body" or contains(@class, 'illustration top')]
+body: //div[contains(@class, 'image-annotation-box') or contains(@class, 'post-content')]
+#author: (//cite//span[@class="plus-icon"])[1]
+author: //span[contains(@class, 'display-name')]
date: //span[@class="date"]
prune: no
-test_url: http://gizmodo.com/5880147/kuhn-rikon-improves-their-spice-grinder-with-grade-school-science \ No newline at end of file
+test_url: http://gizmodo.com/5880147/kuhn-rikon-improves-their-spice-grinder-with-grade-school-science
+test_url: http://gizmodo.com/what-van-goghs-paintings-would-look-like-if-they-came-874035680
+test_url: http://gizmodo.com/vip.xml \ No newline at end of file
diff --git a/straightdope.com.txt b/straightdope.com.txt
new file mode 100644
index 0000000..f01d7ad
--- /dev/null
+++ b/straightdope.com.txt
@@ -0,0 +1,6 @@
+body: //div[@id='article' or @id='current_illustration']
+title: //div[@id='article']//h1
+date: //div[@id='article']//div[@class='date']
+prune: no
+
+test_url: http://www.straightdope.com/columns/read/947/whatever-happened-to-adoption-of-the-metric-system-in-the-u-s \ No newline at end of file