mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Remove print citation at the end of the NYT articles
This commit is contained in:
parent
99c4647dd4
commit
d9c9b48c91
@ -72,6 +72,7 @@ class NewYorkTimes(BasicNewsRecipe):
|
|||||||
dict(name='a', href=lambda x: x and '#whats-next' in x),
|
dict(name='a', href=lambda x: x and '#whats-next' in x),
|
||||||
dict(id=lambda x: x and 'sharetools-' in x),
|
dict(id=lambda x: x and 'sharetools-' in x),
|
||||||
dict(id='newsletter-promo'.split()),
|
dict(id='newsletter-promo'.split()),
|
||||||
|
classes('story-print-citation'),
|
||||||
]
|
]
|
||||||
|
|
||||||
def read_nyt_metadata(self):
|
def read_nyt_metadata(self):
|
||||||
|
@ -72,6 +72,7 @@ class NewYorkTimes(BasicNewsRecipe):
|
|||||||
dict(name='a', href=lambda x: x and '#whats-next' in x),
|
dict(name='a', href=lambda x: x and '#whats-next' in x),
|
||||||
dict(id=lambda x: x and 'sharetools-' in x),
|
dict(id=lambda x: x and 'sharetools-' in x),
|
||||||
dict(id='newsletter-promo'.split()),
|
dict(id='newsletter-promo'.split()),
|
||||||
|
classes('story-print-citation'),
|
||||||
]
|
]
|
||||||
|
|
||||||
def read_nyt_metadata(self):
|
def read_nyt_metadata(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user