From 352a638890f6f42e909c324bbee38512ab933769 Mon Sep 17 00:00:00 2001 From: josejuan05 <1211288+josejuan05@users.noreply.github.com> Date: Sun, 18 Nov 2018 11:39:24 -0600 Subject: [PATCH] Fix NBC extractor See Issue 18202 --- youtube_dl/extractor/nbc.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/youtube_dl/extractor/nbc.py b/youtube_dl/extractor/nbc.py index 765c46fd2..90a201646 100644 --- a/youtube_dl/extractor/nbc.py +++ b/youtube_dl/extractor/nbc.py @@ -93,6 +93,9 @@ class NBCIE(AdobePassIE): 'fields[shows]': 'shortTitle', 'include': 'show.shortTitle', }) + if len(response['data']) is 0: + response = self._download_json(response['links']['self'],video_id) + video_data = response['data'][0]['attributes'] query = { 'mbr': 'true',