diff options
Diffstat (limited to 'inc/3rdparty/site_config/standard/theatlantic.com.txt')
-rwxr-xr-x | inc/3rdparty/site_config/standard/theatlantic.com.txt | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/inc/3rdparty/site_config/standard/theatlantic.com.txt b/inc/3rdparty/site_config/standard/theatlantic.com.txt index 3fc5611b..36864197 100755 --- a/inc/3rdparty/site_config/standard/theatlantic.com.txt +++ b/inc/3rdparty/site_config/standard/theatlantic.com.txt | |||
@@ -1,5 +1,6 @@ | |||
1 | title: //div[contains(@class, 'articleHead')]//h1 | 1 | title: //div[contains(@class, 'articleHead')]//h1 |
2 | 2 | ||
3 | body: //div[@itemprop='articleBody'] | ||
3 | body: //div[@class='articleText'] | 4 | body: //div[@class='articleText'] |
4 | body: //div[@class='articleContent'] | 5 | body: //div[@class='articleContent'] |
5 | body: //div[@id='article'] | 6 | body: //div[@id='article'] |
@@ -13,10 +14,14 @@ strip: //p[contains(., 'This article available online at:')] | |||
13 | strip: //p[contains(., 'This article available online at:')]/following::* | 14 | strip: //p[contains(., 'This article available online at:')]/following::* |
14 | strip: //div[@class='earthbox'] | 15 | strip: //div[@class='earthbox'] |
15 | 16 | ||
16 | single_page_link: //article//a[contains(@class, 'print')] | 17 | single_page_link: //div[contains(@class, 'article-tools')]//a[contains(@class, 'print')] |
17 | 18 | ||
18 | native_ad_clue: //meta[@property="og:url" and contains(@content, '/sponsored/')] | 19 | native_ad_clue: //meta[@property="og:url" and contains(@content, '/sponsored/')] |
19 | 20 | ||
21 | #multi-page article | ||
22 | test_url: http://www.theatlantic.com/magazine/archive/2014/12/the-real-roots-of-midlife-crisis/382235/ | ||
23 | test_contains: The curve tends to evince itself | ||
24 | |||
20 | test_url: http://www.theatlantic.com/technology/archive/2011/04/want-to-see-how-crazy-a-bot-run-market-can-be/237773/ | 25 | test_url: http://www.theatlantic.com/technology/archive/2011/04/want-to-see-how-crazy-a-bot-run-market-can-be/237773/ |
21 | test_url: http://www.theatlantic.com/magazine/archive/2007/11/the-autumn-of-the-multitaskers/6342/ | 26 | test_url: http://www.theatlantic.com/magazine/archive/2007/11/the-autumn-of-the-multitaskers/6342/ |
22 | test_url: http://www.theatlantic.com/entertainment/archive/2012/04/30-rock-live-a-funny-reminder-of-why-sitcoms-arent-shot-live-anymore/256447/ \ No newline at end of file | 27 | test_url: http://www.theatlantic.com/entertainment/archive/2012/04/30-rock-live-a-funny-reminder-of-why-sitcoms-arent-shot-live-anymore/256447/ |