From d848147a332e6dab27e4f8f5cb3a0273ecc40c8a Mon Sep 17 00:00:00 2001 From: midas02 Date: Mon, 1 May 2017 19:23:52 +0200 Subject: [PATCH] Removing default value for brightcove_id --- youtube_dl/extractor/rmcdecouverte.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/rmcdecouverte.py b/youtube_dl/extractor/rmcdecouverte.py index f80eac999..27ccd9e6b 100644 --- a/youtube_dl/extractor/rmcdecouverte.py +++ b/youtube_dl/extractor/rmcdecouverte.py @@ -38,5 +38,5 @@ class RMCDecouverteIE(InfoExtractor): if brightcove_legacy_url: brightcove_id = compat_parse_qs(compat_urlparse.urlparse(brightcove_legacy_url).query)['@videoPlayer'][0] else: - brightcove_id = self._html_search_regex(r'data-video-id="(.*?)"', webpage, 'error message', default=None) + brightcove_id = self._html_search_regex(r'data-video-id="(.*?)"', webpage, 'error message') return self.url_result(self.BRIGHTCOVE_URL_TEMPLATE % brightcove_id, 'BrightcoveNew', brightcove_id)