This commit is contained in:
Kovid Goyal 2025-07-12 22:35:56 +05:30
parent ea7711f6c6
commit 48ed5c63f5
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
5 changed files with 5 additions and 4 deletions

View File

@ -32,7 +32,7 @@ class ancientegypt(BasicNewsRecipe):
keep_only_tags = [
dict(attrs={'class': lambda x: x and any(tag in x for tag in [
'__image', '__header', '__background',
'__image', '__header', '__background',
'__body_area', '__author__text', '__date'
])})
]

View File

@ -31,7 +31,7 @@ class milthist(BasicNewsRecipe):
keep_only_tags = [
dict(attrs={'class': lambda x: x and any(tag in x for tag in [
'__image', '__header', '__background',
'__image', '__header', '__background',
'__body_area', '__author__text', '__date'
])})
]

View File

@ -31,7 +31,7 @@ class minerva(BasicNewsRecipe):
keep_only_tags = [
dict(attrs={'class': lambda x: x and any(tag in x for tag in [
'__image', '__header', '__background',
'__image', '__header', '__background',
'__body_area', '__author__text', '__date'
])})
]

View File

@ -33,7 +33,7 @@ class worldarch(BasicNewsRecipe):
keep_only_tags = [
dict(attrs={'class': lambda x: x and any(tag in x for tag in [
'__image', '__header', '__background',
'__image', '__header', '__background',
'__body_area', '__author__text', '__date'
])})
]

View File

@ -1386,6 +1386,7 @@ The following shows what is returned for various parameters:
else:
return _("No book formats found so the path can't be generated")
class BuiltinHumanReadable(BuiltinFormatterFunction):
name = 'human_readable'
arg_count = 1