1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-01-23 07:02:52 +08:00

[brightcove] Handle 'data-brightcove-id' attr

This commit is contained in:
epitron 2018-06-25 13:40:41 -04:00
parent c3bcd206eb
commit d391334382

View File

@ -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