mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Update New York Times
This commit is contained in:
parent
184b788e2b
commit
9076786195
@ -174,6 +174,7 @@ class NYTimes(BasicNewsRecipe):
|
|||||||
dict(attrs={'class':[
|
dict(attrs={'class':[
|
||||||
'articleFooter',
|
'articleFooter',
|
||||||
'articleTools',
|
'articleTools',
|
||||||
|
'rfd',
|
||||||
'columnGroup singleRule',
|
'columnGroup singleRule',
|
||||||
'columnGroup last',
|
'columnGroup last',
|
||||||
'columnGroup last',
|
'columnGroup last',
|
||||||
@ -214,6 +215,7 @@ class NYTimes(BasicNewsRecipe):
|
|||||||
'videoHeader',#added 02-11-2011
|
'videoHeader',#added 02-11-2011
|
||||||
'articleInlineVideoHolder', #added 02-11-2011
|
'articleInlineVideoHolder', #added 02-11-2011
|
||||||
'assetCompanionAd',
|
'assetCompanionAd',
|
||||||
|
'nytint-sectionHeader',
|
||||||
re.compile('^subNavigation'),
|
re.compile('^subNavigation'),
|
||||||
re.compile('^leaderboard'),
|
re.compile('^leaderboard'),
|
||||||
re.compile('^module'),
|
re.compile('^module'),
|
||||||
@ -248,13 +250,15 @@ class NYTimes(BasicNewsRecipe):
|
|||||||
'masthead',
|
'masthead',
|
||||||
'masthead-nav',
|
'masthead-nav',
|
||||||
'memberTools',
|
'memberTools',
|
||||||
'navigation',
|
'navigation', 'navigation-ghost', 'navigation-modal', 'navigation-edge',
|
||||||
|
'page-footer',
|
||||||
'portfolioInline',
|
'portfolioInline',
|
||||||
'readerReviews',
|
'readerReviews',
|
||||||
'readerReviewsCount',
|
'readerReviewsCount',
|
||||||
'relatedArticles',
|
'relatedArticles',
|
||||||
'relatedTopics',
|
'relatedTopics',
|
||||||
'respond',
|
'respond',
|
||||||
|
'ribbon',
|
||||||
'side_search',
|
'side_search',
|
||||||
'side_index',
|
'side_index',
|
||||||
'side_tool',
|
'side_tool',
|
||||||
@ -262,8 +266,9 @@ class NYTimes(BasicNewsRecipe):
|
|||||||
'skybox', #added for DealBook
|
'skybox', #added for DealBook
|
||||||
'TopAd', #added for DealBook
|
'TopAd', #added for DealBook
|
||||||
'related-content', #added for DealBook
|
'related-content', #added for DealBook
|
||||||
|
'whats-next',
|
||||||
]),
|
]),
|
||||||
dict(name=['script', 'noscript', 'style','form','hr'])]
|
dict(name=['script', 'noscript', 'style','form','hr', 'button'])]
|
||||||
no_stylesheets = True
|
no_stylesheets = True
|
||||||
extra_css = '''
|
extra_css = '''
|
||||||
.articleHeadline { text-align: left; margin-top:0.5em; margin-bottom:0.25em; }
|
.articleHeadline { text-align: left; margin-top:0.5em; margin-bottom:0.25em; }
|
||||||
|
@ -174,6 +174,7 @@ class NYTimes(BasicNewsRecipe):
|
|||||||
dict(attrs={'class':[
|
dict(attrs={'class':[
|
||||||
'articleFooter',
|
'articleFooter',
|
||||||
'articleTools',
|
'articleTools',
|
||||||
|
'rfd',
|
||||||
'columnGroup singleRule',
|
'columnGroup singleRule',
|
||||||
'columnGroup last',
|
'columnGroup last',
|
||||||
'columnGroup last',
|
'columnGroup last',
|
||||||
@ -214,6 +215,7 @@ class NYTimes(BasicNewsRecipe):
|
|||||||
'videoHeader',#added 02-11-2011
|
'videoHeader',#added 02-11-2011
|
||||||
'articleInlineVideoHolder', #added 02-11-2011
|
'articleInlineVideoHolder', #added 02-11-2011
|
||||||
'assetCompanionAd',
|
'assetCompanionAd',
|
||||||
|
'nytint-sectionHeader',
|
||||||
re.compile('^subNavigation'),
|
re.compile('^subNavigation'),
|
||||||
re.compile('^leaderboard'),
|
re.compile('^leaderboard'),
|
||||||
re.compile('^module'),
|
re.compile('^module'),
|
||||||
@ -248,13 +250,14 @@ class NYTimes(BasicNewsRecipe):
|
|||||||
'masthead',
|
'masthead',
|
||||||
'masthead-nav',
|
'masthead-nav',
|
||||||
'memberTools',
|
'memberTools',
|
||||||
'navigation',
|
'navigation', 'navigation-ghost', 'navigation-modal', 'navigation-edge',
|
||||||
'portfolioInline',
|
'portfolioInline',
|
||||||
'readerReviews',
|
'readerReviews',
|
||||||
'readerReviewsCount',
|
'readerReviewsCount',
|
||||||
'relatedArticles',
|
'relatedArticles',
|
||||||
'relatedTopics',
|
'relatedTopics',
|
||||||
'respond',
|
'respond',
|
||||||
|
'ribbon',
|
||||||
'side_search',
|
'side_search',
|
||||||
'side_index',
|
'side_index',
|
||||||
'side_tool',
|
'side_tool',
|
||||||
@ -262,8 +265,9 @@ class NYTimes(BasicNewsRecipe):
|
|||||||
'skybox', #added for DealBook
|
'skybox', #added for DealBook
|
||||||
'TopAd', #added for DealBook
|
'TopAd', #added for DealBook
|
||||||
'related-content', #added for DealBook
|
'related-content', #added for DealBook
|
||||||
|
'whats-next',
|
||||||
]),
|
]),
|
||||||
dict(name=['script', 'noscript', 'style','form','hr'])]
|
dict(name=['script', 'noscript', 'style','form','hr', 'button'])]
|
||||||
no_stylesheets = True
|
no_stylesheets = True
|
||||||
extra_css = '''
|
extra_css = '''
|
||||||
.articleHeadline { text-align: left; margin-top:0.5em; margin-bottom:0.25em; }
|
.articleHeadline { text-align: left; margin-top:0.5em; margin-bottom:0.25em; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user