mirror of
				https://github.com/ytdl-org/youtube-dl
				synced 2025-11-04 11:43:47 +00:00 
			
		
		
		
	[youtube] imporve age-restricted video extraction(#28578)
This commit is contained in:
		
							parent
							
								
									8f493de9fb
								
							
						
					
					
						commit
						28bab774a0
					
				@ -1432,7 +1432,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
 | 
			
		||||
        base_url = self.http_scheme() + '//www.youtube.com/'
 | 
			
		||||
        webpage_url = base_url + 'watch?v=' + video_id
 | 
			
		||||
        webpage = self._download_webpage(
 | 
			
		||||
            webpage_url + '&bpctr=9999999999', video_id, fatal=False)
 | 
			
		||||
            webpage_url + '&bpctr=9999999999&has_verified=1', video_id, fatal=False)
 | 
			
		||||
 | 
			
		||||
        player_response = None
 | 
			
		||||
        if webpage:
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user