Skip to content

Commit

Permalink
[youtube] Improve description extraction (closes #25937) (#25980)
Browse files Browse the repository at this point in the history
  • Loading branch information
MRWITEK authored Jul 14, 2020
1 parent 718393c commit a115e07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion youtube_dl/extractor/youtube.py
Original file line number Diff line number Diff line change
Expand Up @@ -1930,7 +1930,7 @@ def replace_url(m):
''', 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'):
Expand Down

0 comments on commit a115e07

Please sign in to comment.