From d3913343823bb2aa3e3886d4a19945546be817f7 Mon Sep 17 00:00:00 2001 From: epitron Date: Mon, 25 Jun 2018 13:40:41 -0400 Subject: [PATCH] [brightcove] Handle 'data-brightcove-id' attr --- youtube_dl/extractor/brightcove.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/brightcove.py b/youtube_dl/extractor/brightcove.py index 14f9a14ed..17502a264 100644 --- a/youtube_dl/extractor/brightcove.py +++ b/youtube_dl/extractor/brightcove.py @@ -535,7 +535,7 @@ class BrightcoveNewIE(AdobePassIE): # According to examples from [4] it's unclear whether video id # may be optional and what to do when it is - video_id = attrs.get('data-video-id') + video_id = attrs.get('data-video-id') or attrs.get('data-brightcove-id') if not video_id: continue