This commit is contained in:
Kovid Goyal 2023-10-27 10:48:48 +05:30
commit 5eb17a8199
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
4 changed files with 6 additions and 5 deletions

View File

@ -61,7 +61,7 @@ class TheHindufeeds(BasicNewsRecipe):
def __init__(self, *args, **kwargs):
BasicNewsRecipe.__init__(self, *args, **kwargs)
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):

View File

@ -23,6 +23,7 @@ class IndianExpress(BasicNewsRecipe):
em{font-style:italic; color:#202020;}
#sub-d{color:#202020; font-style:italic;}
.ie-authorbox{font-size:small;}
img {display:block; margin:0 auto;}
'''
resolve_internal_links = True

View File

@ -51,7 +51,7 @@ class WSJ(BasicNewsRecipe):
extra_css = '''
#big-top-caption { font-size:small; text-align:center; }
[data-type:"tagline"] { font-style:italic; color:#202020; }
.auth { font-size:small; }
.auth, time { font-size:small; }
.sub, em, i { color: #202020; }
'''
@ -63,7 +63,7 @@ class WSJ(BasicNewsRecipe):
]
remove_tags = [
dict(attrs={'data-type':'inset'}),
dict(attrs={'data-type':['inset', 'video']}),
dict(attrs={'data-testid':'ad-container'}),
dict(attrs={'data-spotim-app':'conversation'}),
dict(name=['button', 'svg', 'old-script', 'video']),

View File

@ -51,7 +51,7 @@ class WSJ(BasicNewsRecipe):
extra_css = '''
#big-top-caption { font-size:small; text-align:center; }
[data-type:"tagline"] { font-style:italic; color:#202020; }
.auth { font-size:small; }
.auth, time { font-size:small; }
.sub, em, i { color: #202020; }
'''
@ -63,7 +63,7 @@ class WSJ(BasicNewsRecipe):
]
remove_tags = [
dict(attrs={'data-type':'inset'}),
dict(attrs={'data-type':['inset', 'video']}),
dict(attrs={'data-testid':'ad-container'}),
dict(attrs={'data-spotim-app':'conversation'}),
dict(name=['button', 'svg', 'old-script', 'video']),