mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 08:57:08 -05:00 
			
		
		
		
	[culturebox] Improve video id extraction (closes #14947)
This commit is contained in:
		@@ -356,6 +356,7 @@ class CultureboxIE(FranceTVBaseInfoExtractor):
 | 
			
		||||
            raise ExtractorError('Video %s is not available' % name, expected=True)
 | 
			
		||||
 | 
			
		||||
        video_id, catalogue = self._search_regex(
 | 
			
		||||
            r'"https?://videos\.francetv\.fr/video/([^@]+@[^"]+)"', webpage, 'video id').split('@')
 | 
			
		||||
            r'["\'>]https?://videos\.francetv\.fr/video/([^@]+@.+?)["\'<]',
 | 
			
		||||
            webpage, 'video id').split('@')
 | 
			
		||||
 | 
			
		||||
        return self._extract_video(video_id, catalogue)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user