]>
Commit | Line | Data |
---|---|---|
d59536de SLR |
1 | body: //div[@id='articlebody'] |
2 | title: //h1 | |
3 | author: //p[@id='by']//a | |
4 | ||
5 | next_page_link: //span[@class='next']/a | |
6 | # Not the same as below! | |
7 | ||
8 | prune: yes | |
9 | tidy: no | |
10 | ||
11 | # Annoying 'next' links plainly inside the article body | |
12 | strip: //*[text()[contains(.,'Next: ')]] | |
13 | ||
14 | test_url: http://psychology.about.com/od/theoriesofpersonality/ss/defensemech.htm |