1
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-12-26 09:42:40 +00:00

[youtube] Improve description extraction (closes ) ()

This commit is contained in:
MRWITEK 2020-07-14 14:01:15 +03:00 committed by xarantolus
parent 9fa728f4e8
commit 54ffcbb8eb

View file

@ -1930,7 +1930,7 @@ def replace_url(m):
''', replace_url, video_description) ''', replace_url, video_description)
video_description = clean_html(video_description) video_description = clean_html(video_description)
else: 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 smuggled_data.get('force_singlefeed', False):
if not self._downloader.params.get('noplaylist'): if not self._downloader.params.get('noplaylist'):