mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-14 13:01:09 +00:00
11 lines
No EOL
504 B
Text
Executable file
11 lines
No EOL
504 B
Text
Executable file
title: //meta[@property='og:title']/@content
|
|
author: (//span[@class="byline"]/a)[1]
|
|
date: //span[contains(@class, "toLocalTime")]
|
|
body: (//div[contains(@class, "articleInner")]//img[contains(@src, 'media.salon.com') and contains(@src, '460x')])[1] | //div[contains(@class, "articleContent") or contains(@class, "writerMeta")]
|
|
|
|
prune: no
|
|
|
|
# deal with singleton links
|
|
single_page_link: (//h1/a[contains(@href, '/singleton')])[1]
|
|
|
|
test_url: http://www.salon.com/2011/10/25/occupying_the_rust_belt/singleton/ |