mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 22:55:18 +00:00 
			
		
		
		
	[youtube] Fix reference before assignment for video_info
This commit is contained in:
		| @@ -883,6 +883,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor): | ||||
|             add_dash_mpd(video_info) | ||||
|         else: | ||||
|             age_gate = False | ||||
|             video_info = None | ||||
|             # Try looking directly into the video webpage | ||||
|             mobj = re.search(r';ytplayer\.config\s*=\s*({.*?});', video_webpage) | ||||
|             if mobj: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sergey M․
					Sergey M․