From abd99c4f0732c8fe61846e39d1c5131df4e22dc7 Mon Sep 17 00:00:00 2001 From: bergoid Date: Sat, 4 Nov 2023 15:36:41 +0100 Subject: [PATCH] Change parsing of 'description' --- yt_dlp/extractor/vrt.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/yt_dlp/extractor/vrt.py b/yt_dlp/extractor/vrt.py index d8559e8166..c820d768ae 100644 --- a/yt_dlp/extractor/vrt.py +++ b/yt_dlp/extractor/vrt.py @@ -1,6 +1,5 @@ import functools import json -# import time from http.cookiejar import CookieJar import urllib.parse import urllib.request @@ -396,7 +395,7 @@ def _real_extract(self, url): return { **traverse_obj(metadata, { - 'description': ('seo', 'description', {clean_html}), + 'description': ('seo', 'description', {str_or_none}), 'timestamp': ('episode', 'onTimeRaw', {parse_iso8601}), 'release_timestamp': ('episode', 'onTimeRaw', {parse_iso8601}), 'series': ('episode', 'program', 'title'),