aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/youtube.py
diff options
context:
space:
mode:
authorMRWITEK <mrvvitek@gmail.com>2020-07-14 14:01:15 +0300
committerGitHub <noreply@github.com>2020-07-14 12:01:15 +0100
commita115e07594ccb7749ca108c889978510c7df126e (patch)
tree3ac46e01f8f7e3f9ece293b967676590b03aa132 /youtube_dl/extractor/youtube.py
parent718393c632df5106df92c60c650f52d86a9a3510 (diff)
[youtube] Improve description extraction (closes #25937) (#25980)
Diffstat (limited to 'youtube_dl/extractor/youtube.py')
-rw-r--r--youtube_dl/extractor/youtube.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py
index ef08bf8cb..c27f2cd95 100644
--- a/youtube_dl/extractor/youtube.py
+++ b/youtube_dl/extractor/youtube.py
@@ -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'):