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
@ -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
|
||||
|
@ -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']),
|
||||
|
@ -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']),
|
||||
|
Loading…
x
Reference in New Issue
Block a user