]>
Commit | Line | Data |
---|---|---|
ac4d1142 NL |
1 | # This setup grabs the text from a Reddit self post. It ignores all comments etc.\r |
2 | \r | |
3 | title: //p[@class="title"]/a/text()\r | |
4 | \r | |
5 | author: //p[@class="tagline"]/a\r | |
6 | \r | |
7 | # this doesn't work for some reason...?\r | |
8 | date: //p[@class="tagline"]//@datetime\r | |
9 | \r | |
10 | body: //div[@class="expando"]//div[@class="usertext-body"]\r | |
11 | \r | |
12 | strip_id_or_class: tagline\r | |
13 | strip_id_or_class: unvotable-message\r | |
14 | strip_id_or_class: buttons\r | |
15 | \r | |
16 | test_url: http://www.reddit.com/r/truegaming/comments/wfe7r/i_wrote_about_the_problems_i_honestly_feel_that/ |