From: Sergey M? Date: Tue, 8 Dec 2015 15:16:58 +0000 (+0600) Subject: [nbc] Add another theplatform pattern X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=b09c122373ad3a1e04148aeeac735443fd91e39d;p=youtube-dl [nbc] Add another theplatform pattern --- diff --git a/youtube_dl/extractor/nbc.py b/youtube_dl/extractor/nbc.py index 7de86a969..4c1eca96f 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('\\/', '/')))