diff options
Diffstat (limited to 'douban.com.txt')
| -rw-r--r-- | douban.com.txt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/douban.com.txt b/douban.com.txt new file mode 100644 index 0000000..d72a222 --- /dev/null +++ b/douban.com.txt @@ -0,0 +1,21 @@ +# This filter is tested on: +# http://www.douban.com/note/215003067/ +# http://www.douban.com/note/213540049/ +# http://www.douban.com/group/topic/31140104/ + +title: //div[@class='note-header']/h1 +title: //div[@id='content']/h1 + +author: //div[@class='info']/ul/li/a +author: //h3/span/a + +date://div[@class='note-header']/div/span +date://h3/span[contains(@class, 'color-green')] + +body://div[contains(@class, 'note')] +body://div[contains(@class, 'topic-content')] + +strip://h3 + +convert_double_br_tags: yes +test_url: http://www.douban.com/group/topic/31140104/
\ No newline at end of file |
