Update irish_times.recipe

This commit is contained in:
unkn0w7n 2023-05-05 23:12:12 +05:30 committed by GitHub
parent 5bd70ffc97
commit dbc9e64fb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,12 +32,11 @@ class IrishTimes(BasicNewsRecipe):
no_stylesheets = True no_stylesheets = True
temp_files = [] temp_files = []
keep_only_tags = [ keep_only_tags = [
dict(name=['h1', 'h2']), classes('custom-headline custom-subheadline lead-art-wrapper article-body-wrapper byline-text'),
classes('lead-art-wrapper article-body-wrapper byline-text'),
] ]
remove_tags = [ remove_tags = [
dict(name='button'), dict(name='button'),
classes('sm-promo-headline top-table-list-container'), classes('sm-promo-headline top-table-list-container single-divider interstitial-link'),
] ]
remove_attributes = ['width', 'height'] remove_attributes = ['width', 'height']