[TwitCastingLive] An extractor error has occurred. (caused by KeyError('llfmp4'))
See original GitHub issueChecklist
- I’m reporting a broken site
- I’ve verified that I’m running yt-dlp version 2021.12.27. (update instructions)
- I’ve checked that all provided URLs are alive and playable in a browser
- I’ve checked that all URLs and arguments with special characters are properly quoted or escaped
- I’ve searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
- I’ve read the guidelines for opening an issue
- I’ve read about sharing account credentials and I’m willing to share it if required
Region
No response
Description
Since about a week ago I’m unable to watch live streams of one particular streamer. It worked before but no longer works. Other several streamers that I have tried at random off the front page seem to work just fine.
Streamlink is having the same issue https://github.com/streamlink/streamlink/issues/4281
Looks the JSON response for this streamer’s live stream is missing llfmp4
(what yt-dlp uses) and fmp4
(what streamlink uses) keys.
Verbose log
$ yt-dlp -Uv -o test.ts https://twitcasting.tv/054109
[debug] Command-line config: ['-Uv', '-o', 'test.ts', 'https://twitcasting.tv/054109']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, err utf-8, pref UTF-8
[debug] yt-dlp version 2021.12.27 [6223f67a8]
[debug] Python version 3.9.2 (CPython 64bit) - Linux-5.10.0-8-amd64-x86_64-with-glibc2.31
[debug] exe versions: ffmpeg 4.3.2-0, ffprobe 4.3.2-0, rtmpdump 2.4
[debug] Optional libraries: Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
Latest version: 2021.12.27, Current version: 2021.12.27
yt-dlp is up to date (2021.12.27)
[debug] [TwitCastingLive] Extracting URL: https://twitcasting.tv/054109
[TwitCastingLive] Downloading live video of user 054109. Pass "https://twitcasting.tv/054109/show" to download the history
[TwitCastingLive] 054109: Downloading webpage
[debug] [TwitCasting] Extracting URL: https://twitcasting.tv/054109/movie/716611113
[TwitCasting] 716611113: Downloading webpage
[TwitCasting] 716611113: Downloading live info
ERROR: 716611113: An extractor error has occurred. (caused by KeyError('llfmp4')); 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 ".pyenv/lib/python3.9/site-packages/yt_dlp/extractor/common.py", line 599, in extract
ie_result = self._real_extract(url)
File ".pyenv/lib/python3.9/site-packages/yt_dlp/extractor/twitcasting.py", line 104, in _real_extract
for mode, ws_url in stream_server_data['llfmp4']['streams'].items():
KeyError: 'llfmp4'
Traceback (most recent call last):
File ".pyenv/lib/python3.9/site-packages/yt_dlp/extractor/common.py", line 599, in extract
ie_result = self._real_extract(url)
File ".pyenv/lib/python3.9/site-packages/yt_dlp/extractor/twitcasting.py", line 104, in _real_extract
for mode, ws_url in stream_server_data['llfmp4']['streams'].items():
KeyError: 'llfmp4'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File ".pyenv/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 1353, in wrapper
return func(self, *args, **kwargs)
File ".pyenv/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 1423, in __extract_info
ie_result = ie.extract(url)
File ".pyenv/lib/python3.9/site-packages/yt_dlp/extractor/common.py", line 629, in extract
raise ExtractorError('An extractor error has occurred.', cause=e, video_id=self.get_temp_id(url))
yt_dlp.utils.ExtractorError: 716611113: An extractor error has occurred. (caused by KeyError('llfmp4')); 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.
Issue Analytics
- State:
- Created 2 years ago
- Comments:10
Top Results From Across the Web
youtube_dl.utils.ExtractorError: An extractor error has occurred ...
ERROR: An extractor error has occurred. (caused by KeyError('media',)); please report this issue on https://yt-dl.org/bug .
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I guess you can use cookies. (use
--cookies-from-browser BROWSER
or--cookies FILE
) If it won’t work, you have to open new issues.Works with cookies.