Browse Source

[nbc] Add another theplatform pattern

master
Sergey M? 9 years ago
committed by Sergey M․
parent
commit
b09c122373
1 changed files with 1 additions and 0 deletions
  1. 1
      youtube_dl/extractor/nbc.py

1
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'<iframe[^>]+src="((?:https?:)?//player\.theplatform\.com/[^"]+)"',
r'"embedURL"\s*:\s*"([^"]+)"'
],
webpage, 'theplatform url').replace('_no_endcard', '').replace('\\/', '/')))

Loading…
Cancel
Save