[brightcove:new] don't strip ref: from video_id
Partial revert of 49571c1c2fc0872d8e8cf341cdeacd57d8885236 which was based on a misreading of the regexp extractor.
This commit is contained in:
parent
34da9a4df6
commit
ca67fc4341
@ -533,10 +533,6 @@ class BrightcoveNewIE(InfoExtractor):
|
|||||||
if not embed:
|
if not embed:
|
||||||
embed = attrs.get('data-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:
|
if video_id and account_id and player_id and embed:
|
||||||
entries.append(
|
entries.append(
|
||||||
'http://players.brightcove.net/%s/%s_%s/index.html?videoId=%s'
|
'http://players.brightcove.net/%s/%s_%s/index.html?videoId=%s'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user