mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 10:52:34 +00:00
[youtube] Prefer video_info with token available
This commit is contained in:
parent
cb5a470635
commit
44b2264fea
@ -1107,6 +1107,8 @@ def add_dash_mpd(video_info):
|
|||||||
if not video_info:
|
if not video_info:
|
||||||
video_info = get_video_info
|
video_info = get_video_info
|
||||||
if 'token' in get_video_info:
|
if 'token' in get_video_info:
|
||||||
|
if 'token' not in video_info:
|
||||||
|
video_info = get_video_info
|
||||||
break
|
break
|
||||||
if 'token' not in video_info:
|
if 'token' not in video_info:
|
||||||
if 'reason' in video_info:
|
if 'reason' in video_info:
|
||||||
|
Loading…
Reference in New Issue
Block a user