1
0
mirror of https://github.com/l1ving/youtube-dl synced 2026-06-04 23:39:32 +08:00

[brightcove:new] don't strip ref: from video_id

Partial revert of 49571c1c2f
which was based on a misreading of the regexp extractor.
This commit is contained in:
John Hawkinson
2017-03-18 11:46:16 -04:00
Unverified
parent 34da9a4df6
commit ca67fc4341
-4
View File
@@ -533,10 +533,6 @@ class BrightcoveNewIE(InfoExtractor):
if not embed:
embed = attrs.get('data-embed')
# According to [5] data-video-id may be prefixed with 'ref:'
if video_id:
video_id = video_id.rpartition('ref:')[2]
if video_id and account_id and player_id and embed:
entries.append(
'http://players.brightcove.net/%s/%s_%s/index.html?videoId=%s'