From d2cfdbc93e3d4209e444edf14a970f1c221eba57 Mon Sep 17 00:00:00 2001 From: bashonly Date: Fri, 15 Nov 2024 19:59:04 -0600 Subject: [PATCH] cleanup Authored by: bashonly --- yt_dlp/extractor/kenh14.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/yt_dlp/extractor/kenh14.py b/yt_dlp/extractor/kenh14.py index 64ea97ebe7a6..971ead80b685 100644 --- a/yt_dlp/extractor/kenh14.py +++ b/yt_dlp/extractor/kenh14.py @@ -99,8 +99,7 @@ def _real_extract(self, url): or clean_html(get_element_by_class('vdbw-sapo', webpage))), 'thumbnail': (self._og_search_thumbnail(webpage) or attrs.get('data-thumb')), 'uploader': traverse_obj(metadata, ('author', {strip_or_none})), - 'timestamp': traverse_obj(metadata, ( - 'uploadtime', {lambda x: parse_iso8601(x, delimiter=' ')})), + 'timestamp': traverse_obj(metadata, ('uploadtime', {parse_iso8601(delimiter=' ')})), 'view_count': traverse_obj(metadata, ('views', {int_or_none})), 'tags': traverse_obj(self._html_search_meta('keywords', webpage), ( {lambda x: x.split(';')}, ..., filter)), @@ -147,4 +146,4 @@ def _real_extract(self, url): or unescapeHTML(embed_info.get('alternateName'))), thumbnail=traverse_obj( self._og_search_thumbnail(webpage), - ({url_or_none}, {lambda x: update_url(x, query=None)}))) + ({url_or_none}, {update_url(query=None)})))