From 073ce5522f9fde39ab9c48fb7e77515df996838d Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 7 May 2018 07:20:15 +0530 Subject: [PATCH] Update The Federalist --- recipes/the_federalist.recipe | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/recipes/the_federalist.recipe b/recipes/the_federalist.recipe index 90bc8f6254..3ea247af57 100644 --- a/recipes/the_federalist.recipe +++ b/recipes/the_federalist.recipe @@ -28,12 +28,18 @@ class Federalist(BasicNewsRecipe): keep_only_tags = [ classes('entry-header'), - classes('wp-post-image post-categories entry-content shortbio'), + classes('wp-post-image post-categories entry-content shortbio byline-month byline-standard alpha-byline'), ] remove_tags = [ dict(name=['meta', 'link']), + classes('auth-ad attachment-post-thumbnail attachment-author-bio'), ] feeds = [ ('All', 'http://thefederalist.com/feed/'), ] + + # def parse_index(self): + # return [('Articles', [ + # {'title':'xxx', 'url':'http://thefederalist.com/2018/05/04/fans-take-on-marvel-dc-and-the-comic-book-industrys-sjw-self-destruction/'} + # ])]