From 82980a148b1e437012744c6755cdc38560132f91 Mon Sep 17 00:00:00 2001 From: Maryana Rozhankivska Date: Mon, 7 Jul 2014 19:17:55 +0300 Subject: [PATCH] quick fix of issue #750: mulipage content for politico.com/magazine articles --- inc/3rdparty/site_config/standard/politico.com.txt | 4 ++++ 1 file changed, 4 insertions(+) mode change 100644 => 100755 inc/3rdparty/site_config/standard/politico.com.txt diff --git a/inc/3rdparty/site_config/standard/politico.com.txt b/inc/3rdparty/site_config/standard/politico.com.txt old mode 100644 new mode 100755 index 121fd5b..c5302d1 --- a/inc/3rdparty/site_config/standard/politico.com.txt +++ b/inc/3rdparty/site_config/standard/politico.com.txt @@ -4,10 +4,14 @@ body://div[contains(@class,"story-text")] # Why doesn't this work? next_page_link://ul[contains(@class,"pagination")]/li/a[@rel="next"] next_page_link://ul[contains(@class,"pagination")]/li[contains(@class, "current")]/following-sibling::node()/a +next_page_link://div[contains(@class,"pagination")]/ol/li[contains(@class, "current")]/following-sibling::node()/a date://meta[@name="publish_date"]/@content strip://div[contains(@class, "breadcrumbs")] strip://a[contains(@class, "hidden")] strip://div[contains(@class, "story-embed")] strip://div[contains(@class, "story-text")]//p/a[contains(text(), "Also on POLITICO:")]/.. +strip://div[contains(@class, "story-interrupt")] +strip://footer[contains(@class, "author-bio")] + test_url: http://www.politico.com/news/stories/0712/78105.html \ No newline at end of file