From 4e067ceabd705201a16b4c92cf4b23f3b990326c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Sun, 13 Jul 2014 10:15:40 +0200 Subject: updated specific configuration for parsing --- inc/3rdparty/site_config/standard/movie.douban.com.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 inc/3rdparty/site_config/standard/movie.douban.com.txt (limited to 'inc/3rdparty/site_config/standard/movie.douban.com.txt') diff --git a/inc/3rdparty/site_config/standard/movie.douban.com.txt b/inc/3rdparty/site_config/standard/movie.douban.com.txt new file mode 100755 index 00000000..eae211ed --- /dev/null +++ b/inc/3rdparty/site_config/standard/movie.douban.com.txt @@ -0,0 +1,12 @@ +# This filter is tested on: +# http://movie.douban.com/review/1062013/ + +title: //span[contains(@property, 'v:summary')] +author: //span[contains(@property, 'v:reviewer')] +date://span[contains(@property, 'v:dtreviewed')] +body://div[contains(@class, 'main-bd')] + +strip://img[contains(@class,'rating')]|//img[contains(@class,'review-stat')] +convert_double_br_tags: yes +test_url: http://movie.douban.com/review/1062013/ +test_url: http://movie.douban.com/review/1021870/ \ No newline at end of file -- cgit v1.2.3