mirror of
https://github.com/l1ving/youtube-dl
synced 2025-02-02 20:57:52 +08:00
[brightcove] Handle 'data-brightcove-id' attr
This commit is contained in:
parent
c3bcd206eb
commit
d391334382
@ -535,7 +535,7 @@ class BrightcoveNewIE(AdobePassIE):
|
|||||||
|
|
||||||
# According to examples from [4] it's unclear whether video id
|
# According to examples from [4] it's unclear whether video id
|
||||||
# may be optional and what to do when it is
|
# 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:
|
if not video_id:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user