mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Merge branch 'patch-2' of https://github.com/jfhutson/calibre
This commit is contained in:
commit
b6a7303670
@ -231,7 +231,8 @@ class NYTimes(BasicNewsRecipe):
|
|||||||
re.compile('^module'),
|
re.compile('^module'),
|
||||||
re.compile('commentCount'),
|
re.compile('commentCount'),
|
||||||
'lede-container',
|
'lede-container',
|
||||||
'credit'
|
'credit',
|
||||||
|
'caption-video'
|
||||||
]}),
|
]}),
|
||||||
dict(
|
dict(
|
||||||
attrs={'class': lambda x: x and 'related-coverage-marginalia' in x.split()}),
|
attrs={'class': lambda x: x and 'related-coverage-marginalia' in x.split()}),
|
||||||
@ -255,6 +256,7 @@ class NYTimes(BasicNewsRecipe):
|
|||||||
dict(name='div', attrs={'class': re.compile('nocontent')}),
|
dict(name='div', attrs={'class': re.compile('nocontent')}),
|
||||||
dict(name='div', attrs={'id': re.compile('respond')}), # open
|
dict(name='div', attrs={'id': re.compile('respond')}), # open
|
||||||
dict(name='div', attrs={'class': re.compile('entry-tags')}), # pogue
|
dict(name='div', attrs={'class': re.compile('entry-tags')}), # pogue
|
||||||
|
dict(name='h4', attrs={'class': 'headline'}),
|
||||||
dict(id=[
|
dict(id=[
|
||||||
'adxLeaderboard',
|
'adxLeaderboard',
|
||||||
'pagelinks',
|
'pagelinks',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user