mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 00:17:07 -05:00 
			
		
		
		
	[brightcove:legacy] Improve embeds detection (closes #11523)
This commit is contained in:
		@@ -344,10 +344,10 @@ class GenericIE(InfoExtractor):
 | 
			
		||||
            },
 | 
			
		||||
            'skip': 'There is a limit of 200 free downloads / month for the test song',
 | 
			
		||||
        },
 | 
			
		||||
        # embedded brightcove video
 | 
			
		||||
        # it also tests brightcove videos that need to set the 'Referer' in the
 | 
			
		||||
        # http requests
 | 
			
		||||
        {
 | 
			
		||||
            # embedded brightcove video
 | 
			
		||||
            # it also tests brightcove videos that need to set the 'Referer'
 | 
			
		||||
            # in the http requests
 | 
			
		||||
            'add_ie': ['BrightcoveLegacy'],
 | 
			
		||||
            'url': 'http://www.bfmtv.com/video/bfmbusiness/cours-bourse/cours-bourse-l-analyse-technique-154522/',
 | 
			
		||||
            'info_dict': {
 | 
			
		||||
@@ -361,6 +361,24 @@ class GenericIE(InfoExtractor):
 | 
			
		||||
                'skip_download': True,
 | 
			
		||||
            },
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
            # embedded with itemprop embedURL and video id spelled as `idVideo`
 | 
			
		||||
            'add_id': ['BrightcoveLegacy'],
 | 
			
		||||
            'url': 'http://bfmbusiness.bfmtv.com/mediaplayer/chroniques/olivier-delamarche/',
 | 
			
		||||
            'info_dict': {
 | 
			
		||||
                'id': '5255628253001',
 | 
			
		||||
                'ext': 'mp4',
 | 
			
		||||
                'title': 'md5:37c519b1128915607601e75a87995fc0',
 | 
			
		||||
                'description': 'md5:37f7f888b434bb8f8cc8dbd4f7a4cf26',
 | 
			
		||||
                'uploader': 'BFM BUSINESS',
 | 
			
		||||
                'uploader_id': '876450612001',
 | 
			
		||||
                'timestamp': 1482255315,
 | 
			
		||||
                'upload_date': '20161220',
 | 
			
		||||
            },
 | 
			
		||||
            'params': {
 | 
			
		||||
                'skip_download': True,
 | 
			
		||||
            },
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
            # https://github.com/rg3/youtube-dl/issues/2253
 | 
			
		||||
            'url': 'http://bcove.me/i6nfkrc3',
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user