This commit is contained in:
Kyle Gonsalves 2024-04-26 12:55:22 -07:00
parent 388bc9c97c
commit 8d78a0f118

View file

@ -1407,7 +1407,8 @@ def parse_media(media):
'title': ('title', {str}), 'title': ('title', {str}),
'thumbnail': ('imageUrl', {lambda u: urljoin(url, u.replace('$recipe', 'raw'))}), 'thumbnail': ('imageUrl', {lambda u: urljoin(url, u.replace('$recipe', 'raw'))}),
'description': ( 'description': (
'synopses', ('long', 'medium', 'short'), {str}, any), 'synopses', ('long', 'medium', 'short'), {str}, any
),
'timestamp': ('firstPublished', {k_int_or_none}), 'timestamp': ('firstPublished', {k_int_or_none}),
}), }),
} }