mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Update Scientific American
This commit is contained in:
parent
e004b057ed
commit
da57bb0fac
@ -22,6 +22,18 @@ class ScientificAmerican(BasicNewsRecipe):
|
|||||||
remove_empty_feeds = True
|
remove_empty_feeds = True
|
||||||
remove_javascript = True
|
remove_javascript = True
|
||||||
timefmt = ' [%B %Y]'
|
timefmt = ' [%B %Y]'
|
||||||
|
remove_attributes = ['height','width']
|
||||||
|
masthead_url = 'https://static.scientificamerican.com/sciam/assets/Image/newsletter/salogo.png'
|
||||||
|
extra_css = '''
|
||||||
|
.image-captioned{font-size:small;}
|
||||||
|
.feature-article__byline-authors{font-size:small;}
|
||||||
|
.article-header__inner__category{font-size:small; color:gray;}
|
||||||
|
.t_caption{font-size:small; text-align:center;}
|
||||||
|
.author-bio{font-size:small;}
|
||||||
|
.opinion-article__byline-authors{font-size:small;}
|
||||||
|
.article-author{font-size:small;}
|
||||||
|
[role="presentation"]{font-size:small;}
|
||||||
|
'''
|
||||||
|
|
||||||
needs_subscription = 'optional'
|
needs_subscription = 'optional'
|
||||||
|
|
||||||
@ -31,7 +43,7 @@ class ScientificAmerican(BasicNewsRecipe):
|
|||||||
' feature-article--header-title opinion-article__header-title author-bio'),
|
' feature-article--header-title opinion-article__header-title author-bio'),
|
||||||
]
|
]
|
||||||
remove_tags = [
|
remove_tags = [
|
||||||
classes('aside-banner moreToExplore article-footer flex-column--25 article-author__suggested'),
|
classes('aside-banner moreToExplore article-footer flex-column--25 article-author__suggested medium-up-hide'),
|
||||||
dict(id=['seeAlsoLinks']),
|
dict(id=['seeAlsoLinks']),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user