From a215a496a25984d511056be203eec8249712ce58 Mon Sep 17 00:00:00 2001 From: Sergey M Date: Wed, 7 Feb 2018 21:37:47 +0700 Subject: [PATCH] Update gameinformer.py --- youtube_dl/extractor/gameinformer.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/youtube_dl/extractor/gameinformer.py b/youtube_dl/extractor/gameinformer.py index da911cd74..239c1961d 100644 --- a/youtube_dl/extractor/gameinformer.py +++ b/youtube_dl/extractor/gameinformer.py @@ -24,6 +24,10 @@ class GameInformerIE(InfoExtractor): def _real_extract(self, url): display_id = self._match_id(url) webpage = self._download_webpage(url, display_id) - brightcove_id = self._search_regex([r"getVideo\('[^']+video_id=(\d+)", r"

]+\bid=["\']bc_(\d+)', r"getVideo\('[^']+video_id=(\d+)"], + webpage, 'brightcove id') + return self.url_result( + self.BRIGHTCOVE_URL_TEMPLATE % brightcove_id, 'BrightcoveNew', + brightcove_id) +