mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-01-28 19:58:38 +01:00
[youtube] Skip get_video_info requests when --youtube-skip-dash-manifest is specified
This commit is contained in:
parent
bc93bdb5bb
commit
0a3cf9ad3d
1 changed files with 22 additions and 21 deletions
|
@ -894,6 +894,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||||
# Convert to the same format returned by compat_parse_qs
|
# Convert to the same format returned by compat_parse_qs
|
||||||
video_info = dict((k, [v]) for k, v in args.items())
|
video_info = dict((k, [v]) for k, v in args.items())
|
||||||
add_dash_mpd(video_info)
|
add_dash_mpd(video_info)
|
||||||
|
if not video_info or self._downloader.params.get('youtube_include_dash_manifest', True):
|
||||||
# We also try looking in get_video_info since it may contain different dashmpd
|
# We also try looking in get_video_info since it may contain different dashmpd
|
||||||
# URL that points to a DASH manifest with possibly different itag set (some itags
|
# URL that points to a DASH manifest with possibly different itag set (some itags
|
||||||
# are missing from DASH manifest pointed by webpage's dashmpd, some - from DASH
|
# are missing from DASH manifest pointed by webpage's dashmpd, some - from DASH
|
||||||
|
|
Loading…
Add table
Reference in a new issue