From ca67fc4341ec49e934f74c8f847aacc385dd643a Mon Sep 17 00:00:00 2001 From: John Hawkinson Date: Sat, 18 Mar 2017 11:46:16 -0400 Subject: [PATCH] [brightcove:new] don't strip ref: from video_id Partial revert of 49571c1c2fc0872d8e8cf341cdeacd57d8885236 which was based on a misreading of the regexp extractor. --- youtube_dl/extractor/brightcove.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/youtube_dl/extractor/brightcove.py b/youtube_dl/extractor/brightcove.py index dc192645e..5a910d26d 100644 --- a/youtube_dl/extractor/brightcove.py +++ b/youtube_dl/extractor/brightcove.py @@ -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'