Repository: yt-dlp
Issue: [Broken] Kaltura video download causes error in the extractor
Labels: site-bug

<!--

######################################################################
  WARNING!
  IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE
######################################################################

-->


## Checklist

<!--
Carefully read and work through this check list in order to prevent the most common mistakes and misuse of yt-dlp:
- First of, make sure you are using the latest version of yt-dlp. Run `yt-dlp --version` and ensure your version is 2021.09.25. If it's not, see https://github.com/yt-dlp/yt-dlp on how to update. Issues with outdated version will be REJECTED.
- Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser.
- Make sure that all URLs and arguments with special characters are properly quoted or escaped as explained in https://github.com/yt-dlp/yt-dlp.
- Search the bugtracker for similar issues: https://github.com/yt-dlp/yt-dlp. DO NOT post duplicates.
- Finally, put x into all relevant boxes like this [x] (Dont forget to delete the empty space)
-->

- [x] I'm reporting a broken site support
- [x] I've verified that I'm running yt-dlp version **2021.09.25** (Happens on latest release and master)
- [x] I've checked that all provided URLs are alive and playable in a browser
- [x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
- [x] I've searched the bugtracker for similar issues including closed ones


## Verbose log

<!--
Provide the complete verbose output of yt-dlp that clearly demonstrates the problem.
Add the `-v` flag to your command line you run yt-dlp with (`yt-dlp -v <your command line>`), copy the WHOLE output and insert it below. It should look similar to this:
 [debug] System config: []
 [debug] User config: []
 [debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKc']
 [debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
 [debug] yt-dlp version 2021.09.25
 [debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2
 [debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
 [debug] Proxy map: {}
 <more lines>
-->

```
[debug] Command-line config: ['https://mediaspace.carleton.ca/media/4705_0_2021/1_5hgwu9bi', '--verbose']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] yt-dlp version 2021.09.25
[debug] Python version 3.9.2 (CPython 64bit) - Windows-10-10.0.19041-SP0
[debug] exe versions: none
[debug] Optional libraries: Crypto, mutagen, sqlite, websockets
[debug] Proxy map: {}
[debug] [generic] Extracting URL: https://mediaspace.carleton.ca/media/4705_0_2021/1_5hgwu9bi
[generic] 1_5hgwu9bi: Requesting header
WARNING: [generic] Falling back on generic information extractor.
[generic] 1_5hgwu9bi: Downloading webpage
[generic] 1_5hgwu9bi: Extracting information
[download] Downloading playlist: 4705_0_2021 - Carleton University Mediaspace
[generic] playlist 4705_0_2021 - Carleton University Mediaspace: Collected 1 videos; downloading 1 of them
[download] Downloading video 1 of 1
[debug] [Kaltura] Extracting URL: kaltura:2011531:1_5hgwu9bi#__youtubedl_smuggle=%7B%22source_url%22%3A+%22https%3A%2F%2Fmediaspace.carleton.ca%2Fmedia%2F4705_0_2021%2F1_5hgwu9bi%22%2C+%22service_url%22%3A+%22https%3A%2F%2Fcdnapisec.kaltura.com%22%7D
[Kaltura] 1_5hgwu9bi: Downloading video info JSON
ERROR: 1_5hgwu9bi: An extractor error has occurred. (caused by KeyError('dataUrl')); please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; see  https://github.com/yt-dlp/yt-dlp  on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "c:\python39\lib\site-packages\yt_dlp\extractor\common.py", line 585, in extract
    ie_result = self._real_extract(url)
  File "c:\python39\lib\site-packages\yt_dlp\extractor\kaltura.py", line 298, in _real_extract
    data_url = info['dataUrl']
KeyError: 'dataUrl'
Traceback (most recent call last):
  File "c:\python39\lib\site-packages\yt_dlp\extractor\common.py", line 585, in extract
    ie_result = self._real_extract(url)
  File "c:\python39\lib\site-packages\yt_dlp\extractor\kaltura.py", line 298, in _real_extract
    data_url = info['dataUrl']
KeyError: 'dataUrl'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "c:\python39\lib\site-packages\yt_dlp\YoutubeDL.py", line 1234, in wrapper
    return func(self, *args, **kwargs)
  File "c:\python39\lib\site-packages\yt_dlp\YoutubeDL.py", line 1259, in __extract_info
    ie_result = ie.extract(url)
  File "c:\python39\lib\site-packages\yt_dlp\extractor\common.py", line 606, in extract
    raise ExtractorError('An extractor error has occurred.', cause=e, video_id=self.get_temp_id(url))
yt_dlp.utils.ExtractorError: 1_5hgwu9bi: An extractor error has occurred. (caused by KeyError('dataUrl')); please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; see  https://github.com/yt-dlp/yt-dlp  on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.

[download] Finished downloading playlist: 4705_0_2021 - Carleton University Mediaspace

```
<!--
Do not remove the above ```
-->


## Description

<!--
Provide an explanation of your issue in an arbitrary form. Provide any additional information, suggested solution and as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->
Nothing much else to say, theres an error in the extractor for Kaltura. The video should be freely available, but if it goes down I can check for a new link.