Repository: youtube-dl
Issue: Adult Swim extractor failing to retrieve ngtv_info
Labels: tv-provider-account-needed

> youtube-dl -v --ap-mso Charter_Direct --ap-username wisonm --ap-password Gunda
m@@00 -f "best[height=720]" https://www.adultswim.com/videos/demon-slayer/lettin
g-someone-else-go-first
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '--ap-mso', 'Charter_Direct', '--ap-username',
 'PRIVATE', '--ap-password', 'PRIVATE', '-f', 'best[height=720]', 'https://www.a
dultswim.com/videos/demon-slayer/letting-someone-else-go-first']
[debug] Encodings: locale cp1252, fs mbcs, out cp65001, pref cp1252
[debug] youtube-dl version 2020.01.24
[debug] Python version 3.4.4 (CPython) - Windows-8.1-6.3.9600
[debug] exe versions: ffmpeg 4.2.2, ffprobe 4.2.2
[debug] Proxy map: {}
[AdultSwim] letting-someone-else-go-first: Downloading JSON metadata
[AdultSwim] 30c137bcbd343ea6ec2b80f276fee9ce42179843: Downloading JSON metadata
ERROR: An extractor error has occurred. (caused by KeyError('media',)); please r
eport this issue on https://yt-dl.org/bug . Make sure you are using the latest v
ersion; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --ve
rbose flag and include its complete output.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpw0w300
z1\build\youtube_dl\extractor\common.py", line 530, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpw0w300
z1\build\youtube_dl\extractor\adultswim.py", line 163, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpw0w300
z1\build\youtube_dl\extractor\turner.py", line 200, in _extract_ngtv_info
KeyError: 'media'
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpw0w300
z1\build\youtube_dl\extractor\common.py", line 530, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpw0w300
z1\build\youtube_dl\extractor\adultswim.py", line 163, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpw0w300
z1\build\youtube_dl\extractor\turner.py", line 200, in _extract_ngtv_info
KeyError: 'media'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpw0w300
z1\build\youtube_dl\YoutubeDL.py", line 796, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpw0w300
z1\build\youtube_dl\extractor\common.py", line 543, in extract
youtube_dl.utils.ExtractorError: An extractor error has occurred. (caused by Key
Error('media',)); please report this issue on https://yt-dl.org/bug . Make sure
you are using the latest version; type  youtube-dl -U  to update. Be sure to cal
l youtube-dl with the --verbose flag and include its complete output.

While attempting to download this weekends episode of Demon Slayer using the following link https://www.adultswim.com/videos/demon-slayer/letting-someone-else-go-first it returns the above extraction errors and have tested it on this weeks Black Clover episode https://www.adultswim.com/videos/black-clover/smiles-tears so it is not an isolated bug.