mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-11-04 00:25:15 +00:00 
			
		
		
		
	Handle video pages without vevo IDs (Fixes #923)
This commit is contained in:
		@@ -484,6 +484,8 @@ class YoutubeIE(InfoExtractor):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        try:
 | 
					        try:
 | 
				
			||||||
            mobj = re.search(r';ytplayer.config = ({.*?});', video_webpage)
 | 
					            mobj = re.search(r';ytplayer.config = ({.*?});', video_webpage)
 | 
				
			||||||
 | 
					            if not mobj:
 | 
				
			||||||
 | 
					                raise ValueError('Could not find vevo ID')
 | 
				
			||||||
            info = json.loads(mobj.group(1))
 | 
					            info = json.loads(mobj.group(1))
 | 
				
			||||||
            args = info['args']
 | 
					            args = info['args']
 | 
				
			||||||
            # Easy way to know if the 's' value is in url_encoded_fmt_stream_map
 | 
					            # Easy way to know if the 's' value is in url_encoded_fmt_stream_map
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user