From b09c122373ad3a1e04148aeeac735443fd91e39d Mon Sep 17 00:00:00 2001 From: Sergey M? Date: Tue, 8 Dec 2015 21:16:58 +0600 Subject: [PATCH] [nbc] Add another theplatform pattern --- youtube_dl/extractor/nbc.py | 1 + 1 file changed, 1 insertion(+) diff --git a/youtube_dl/extractor/nbc.py b/youtube_dl/extractor/nbc.py index 7de86a9698..4c1eca96f2 100644 --- a/youtube_dl/extractor/nbc.py +++ b/youtube_dl/extractor/nbc.py @@ -63,6 +63,7 @@ class NBCIE(InfoExtractor): theplatform_url = unescapeHTML(lowercase_escape(self._html_search_regex( [ r'(?:class="video-player video-player-full" data-mpx-url|class="player" src)="(.*?)"', + r']+src="((?:https?:)?//player\.theplatform\.com/[^"]+)"', r'"embedURL"\s*:\s*"([^"]+)"' ], webpage, 'theplatform url').replace('_no_endcard', '').replace('\\/', '/')))