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:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user