1
0
mirror of https://github.com/l1ving/youtube-dl synced 2026-05-27 05:01:23 +08:00

Prefer video_details.get('shortDescription') to self._html_search_meta('description', video_webpage) when retrieving video_description.

This commit is contained in:
jeredav
2020-06-15 18:33:35 -04:00
Unverified
parent ed604ce7bc
commit ae9013f47f
+1 -1
View File
@@ -1930,7 +1930,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
''', replace_url, video_description)
video_description = clean_html(video_description)
else:
video_description = self._html_search_meta('description', video_webpage) or video_details.get('shortDescription')
video_description = video_details.get('shortDescription') or self._html_search_meta('description', video_webpage)
if not smuggled_data.get('force_singlefeed', False):
if not self._downloader.params.get('noplaylist'):