Update The Federalist

This commit is contained in:
Kovid Goyal 2018-05-07 07:20:15 +05:30
parent 9dbd6fa65a
commit 073ce5522f
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -28,12 +28,18 @@ class Federalist(BasicNewsRecipe):
keep_only_tags = [ keep_only_tags = [
classes('entry-header'), 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 = [ remove_tags = [
dict(name=['meta', 'link']), dict(name=['meta', 'link']),
classes('auth-ad attachment-post-thumbnail attachment-author-bio'),
] ]
feeds = [ feeds = [
('All', 'http://thefederalist.com/feed/'), ('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/'}
# ])]