summaryrefslogtreecommitdiff
path: root/guokr.com.txt
diff options
context:
space:
mode:
Diffstat (limited to 'guokr.com.txt')
-rw-r--r--guokr.com.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/guokr.com.txt b/guokr.com.txt
new file mode 100644
index 0000000..f8327be
--- /dev/null
+++ b/guokr.com.txt
@@ -0,0 +1,22 @@
+# To administrator:
+# Please change the hostname to "www.guokr.com/article/*"
+# Not working for "www.guokr.com/post/" pages configured by carlosliu913@gmail.com
+
+# This filter is tested on:
+# http://www.guokr.com/article/274325/
+# http://www.guokr.com/article/275013/
+
+title://h1
+author://div[contains(@class, 'content-th-info')]/a
+date://div[contains(@class, 'content-th-info')]/span
+body://div[contains(@class, 'Content')]
+
+strip://div[contains(@class, 'bottom-i')]
+strip://div[contains(@class, 'copyright')]
+strip://div[contains(@class, 'fr')]
+strip://div[contains(@class, 'content-th-info')]
+strip://h1[contains(@id, 'articleTitle')]
+strip://div[contains(@class, 'side')]
+strip://div[contains(@class, 'top-wp')]
+test_url: http://www.guokr.com/article/275013/
+test_url: http://www.guokr.com/article/338387/ \ No newline at end of file