mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
Merge branch 'master' of https://github.com/unkn0w7n/calibre
This commit is contained in:
commit
5eb17a8199
@ -61,7 +61,7 @@ class TheHindufeeds(BasicNewsRecipe):
|
|||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
BasicNewsRecipe.__init__(self, *args, **kwargs)
|
BasicNewsRecipe.__init__(self, *args, **kwargs)
|
||||||
if self.output_profile.short_name.startswith('kindle'):
|
if self.output_profile.short_name.startswith('kindle'):
|
||||||
self.title = 'The Hindu (Feeds)' + date.today().strftime('%b %d, %Y')
|
self.title = 'The Hindu (Feeds) ' + date.today().strftime('%b %d, %Y')
|
||||||
|
|
||||||
|
|
||||||
def get_cover_url(self):
|
def get_cover_url(self):
|
||||||
|
@ -23,6 +23,7 @@ class IndianExpress(BasicNewsRecipe):
|
|||||||
em{font-style:italic; color:#202020;}
|
em{font-style:italic; color:#202020;}
|
||||||
#sub-d{color:#202020; font-style:italic;}
|
#sub-d{color:#202020; font-style:italic;}
|
||||||
.ie-authorbox{font-size:small;}
|
.ie-authorbox{font-size:small;}
|
||||||
|
img {display:block; margin:0 auto;}
|
||||||
'''
|
'''
|
||||||
|
|
||||||
resolve_internal_links = True
|
resolve_internal_links = True
|
||||||
|
@ -51,7 +51,7 @@ class WSJ(BasicNewsRecipe):
|
|||||||
extra_css = '''
|
extra_css = '''
|
||||||
#big-top-caption { font-size:small; text-align:center; }
|
#big-top-caption { font-size:small; text-align:center; }
|
||||||
[data-type:"tagline"] { font-style:italic; color:#202020; }
|
[data-type:"tagline"] { font-style:italic; color:#202020; }
|
||||||
.auth { font-size:small; }
|
.auth, time { font-size:small; }
|
||||||
.sub, em, i { color: #202020; }
|
.sub, em, i { color: #202020; }
|
||||||
'''
|
'''
|
||||||
|
|
||||||
@ -63,7 +63,7 @@ class WSJ(BasicNewsRecipe):
|
|||||||
]
|
]
|
||||||
|
|
||||||
remove_tags = [
|
remove_tags = [
|
||||||
dict(attrs={'data-type':'inset'}),
|
dict(attrs={'data-type':['inset', 'video']}),
|
||||||
dict(attrs={'data-testid':'ad-container'}),
|
dict(attrs={'data-testid':'ad-container'}),
|
||||||
dict(attrs={'data-spotim-app':'conversation'}),
|
dict(attrs={'data-spotim-app':'conversation'}),
|
||||||
dict(name=['button', 'svg', 'old-script', 'video']),
|
dict(name=['button', 'svg', 'old-script', 'video']),
|
||||||
|
@ -51,7 +51,7 @@ class WSJ(BasicNewsRecipe):
|
|||||||
extra_css = '''
|
extra_css = '''
|
||||||
#big-top-caption { font-size:small; text-align:center; }
|
#big-top-caption { font-size:small; text-align:center; }
|
||||||
[data-type:"tagline"] { font-style:italic; color:#202020; }
|
[data-type:"tagline"] { font-style:italic; color:#202020; }
|
||||||
.auth { font-size:small; }
|
.auth, time { font-size:small; }
|
||||||
.sub, em, i { color: #202020; }
|
.sub, em, i { color: #202020; }
|
||||||
'''
|
'''
|
||||||
|
|
||||||
@ -63,7 +63,7 @@ class WSJ(BasicNewsRecipe):
|
|||||||
]
|
]
|
||||||
|
|
||||||
remove_tags = [
|
remove_tags = [
|
||||||
dict(attrs={'data-type':'inset'}),
|
dict(attrs={'data-type':['inset', 'video']}),
|
||||||
dict(attrs={'data-testid':'ad-container'}),
|
dict(attrs={'data-testid':'ad-container'}),
|
||||||
dict(attrs={'data-spotim-app':'conversation'}),
|
dict(attrs={'data-spotim-app':'conversation'}),
|
||||||
dict(name=['button', 'svg', 'old-script', 'video']),
|
dict(name=['button', 'svg', 'old-script', 'video']),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user