From 6374afb8122b0b217a2b65caeffcce19d44b77bf Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 24 Sep 2014 22:42:04 +0530 Subject: [PATCH] Update Wall Street Journal Fixes #1373492 [Wall Street Journal not pulling articles](https://bugs.launchpad.net/calibre/+bug/1373492) --- recipes/wsj.recipe | 2 +- recipes/wsj_free.recipe | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/wsj.recipe b/recipes/wsj.recipe index 2a3eec3eb5..924ab4acbf 100644 --- a/recipes/wsj.recipe +++ b/recipes/wsj.recipe @@ -26,7 +26,7 @@ class WallStreetJournal(BasicNewsRecipe): keep_only_tags = [ dict(name='h1'), dict(name='h2', attrs={'class':['subhead', 'subHed deck']}), dict(name='span', itemprop='author', rel='author'), - dict(name='article', id='articleBody'), + dict(name='article', id=['article-contents', 'articleBody']), dict(name='div', id='article_story_body'), ] remove_tags = [ diff --git a/recipes/wsj_free.recipe b/recipes/wsj_free.recipe index 8f7089d98a..0b1c0f183f 100644 --- a/recipes/wsj_free.recipe +++ b/recipes/wsj_free.recipe @@ -24,7 +24,7 @@ class WallStreetJournal(BasicNewsRecipe): keep_only_tags = [ dict(name='h1'), dict(name='h2', attrs={'class':['subhead', 'subHed deck']}), dict(name='span', itemprop='author', rel='author'), - dict(name='article', id='articleBody'), + dict(name='article', id=['article-contents', 'articleBody']), dict(name='div', id='article_story_body'), ] remove_tags = [