mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Update The Federalist
This commit is contained in:
parent
9dbd6fa65a
commit
073ce5522f
@ -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/'}
|
||||||
|
# ])]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user