mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 00:57:07 -05:00 
			
		
		
		
	[youtube] Prefer video_info with token available
This commit is contained in:
		@@ -1107,6 +1107,8 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
 | 
			
		||||
                    if not video_info:
 | 
			
		||||
                        video_info = get_video_info
 | 
			
		||||
                    if 'token' in get_video_info:
 | 
			
		||||
                        if 'token' not in video_info:
 | 
			
		||||
                            video_info = get_video_info
 | 
			
		||||
                        break
 | 
			
		||||
        if 'token' not in video_info:
 | 
			
		||||
            if 'reason' in video_info:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user