mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Remove another type of gallery from output
This commit is contained in:
parent
a04033e2e7
commit
ba06dedeb4
@ -16,6 +16,7 @@ class MMCRTV(BasicNewsRecipe):
|
|||||||
no_stylesheets = True
|
no_stylesheets = True
|
||||||
use_embedded_content = False
|
use_embedded_content = False
|
||||||
encoding = 'utf-8'
|
encoding = 'utf-8'
|
||||||
|
publication_type = 'newspaper'
|
||||||
|
|
||||||
cover_url = 'https://img.rtvslo.si/_static/novi/logo/tvmmc-light-bg.png'
|
cover_url = 'https://img.rtvslo.si/_static/novi/logo/tvmmc-light-bg.png'
|
||||||
|
|
||||||
@ -25,6 +26,7 @@ class MMCRTV(BasicNewsRecipe):
|
|||||||
]
|
]
|
||||||
remove_tags=[
|
remove_tags=[
|
||||||
dict(name='div', attrs={'class':'gallery-grid'}),
|
dict(name='div', attrs={'class':'gallery-grid'}),
|
||||||
|
dict(name='div', attrs={'class':'gallery'}),
|
||||||
dict(name='div', attrs={'class':'exposed-article'}),
|
dict(name='div', attrs={'class':'exposed-article'}),
|
||||||
dict(name='div', attrs={'class':'d-lg-none'}),
|
dict(name='div', attrs={'class':'d-lg-none'}),
|
||||||
dict(name='div', attrs={'class':'section-heading'}),
|
dict(name='div', attrs={'class':'section-heading'}),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user