diff options
| author | Jérémy Benoist <j0k3r@users.noreply.github.com> | 2017-09-04 00:09:40 +0200 |
|---|---|---|
| committer | FiveFilters.org <fivefilters@fivefilters.org> | 2017-09-04 00:09:40 +0200 |
| commit | bc6c1a0fba3d0849f810466950c86042334e8715 (patch) | |
| tree | 59f94995c3502664107cf4cb813f3847ee9cd2e5 | |
| parent | a7753217cdc0c6cd8401123de40853a54e01e315 (diff) | |
| download | ftr-site-config-bc6c1a0fba3d0849f810466950c86042334e8715.tar.gz ftr-site-config-bc6c1a0fba3d0849f810466950c86042334e8715.zip | |
Update washingtonpost.com.txt (#334)
For some reason the retrieved content doesn't have `<span class="pb-byline" itemprop="author" itemscope="" itemtype="http://schema.org/Person">` but a mysterious `<h3 property="dc.creator">`. Since authors are removed after being matched, the element stay like that: `<h3 property="dc.creator">By and ,</h3>`
Authors are matched so we can safely remove that element.
| -rw-r--r-- | washingtonpost.com.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/washingtonpost.com.txt b/washingtonpost.com.txt index c29af00..291c058 100644 --- a/washingtonpost.com.txt +++ b/washingtonpost.com.txt @@ -21,6 +21,7 @@ strip://div[@class="module component todays-paper-module curved"] strip://div[@class="module component live-qa curved img-border"] strip://div[@class="module component newsletter-signup curved"] strip://div[@class="module featured-stories component curved img-border"] +strip://h3[@property="dc.creator"] strip_id_or_class: carousel strip_id_or_class: toolbar @@ -35,4 +36,4 @@ if_page_contains: //link[@rel="canonical" and contains(@href, '_story.html')] test_url: http://www.washingtonpost.com/world/europe/in-europe-new-fears-of-german-might/2011/10/19/gIQA3baZ7L_story.html?hpid=z1 test_url: http://www.washingtonpost.com/national/health-science/radical-theory-of-first-americans-places-stone-age-europeans-in-delmarva-20000-years-ago/2012/02/28/gIQA4mriiR_story.html -test_url: http://www.washingtonpost.com/lifestyle/magazine/the-sorry-fate-of-a-tech-pioneer-halsey-minor-and-historic-virginia-estate-carters-grove/2012/05/30/gJQAwdJG4U_story.html
\ No newline at end of file +test_url: http://www.washingtonpost.com/lifestyle/magazine/the-sorry-fate-of-a-tech-pioneer-halsey-minor-and-historic-virginia-estate-carters-grove/2012/05/30/gJQAwdJG4U_story.html |
