yt-dlp: [RTBF.be] Extration problem for the "Live" streams
DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE
- I understand that I will be blocked if I remove or skip any mandatory* field
Checklist
- I’m reporting a broken site
- I’ve verified that I’m running yt-dlp version 2022.08.08 (update instructions) or later (specify commit)
- I’ve checked that all provided URLs are playable in a browser with the same IP and same login details
- 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
Belgique
Provide a description that is worded well enough to be understood
Extration problem for the “Live” streams found here: https://www.rtbf.be/auvio/direct#/
It seems to be blocked because of Subtitle…
Provide verbose output that clearly demonstrates the problem
- Run your yt-dlp command with -vU flag added (
yt-dlp -vU <your command line>
) - Copy the WHOLE output (starting with
[debug] Command-line config
) and insert it below
Complete Verbose Output
$ yt-dlp -vU -g --cookies-from-browser firefox https://www.rtbf.be/auvio/direct_le-beau-velo-de-ravel?lid=408218#/
[debug] Command-line config: ['-vU', '-g', '--cookies-from-browser', 'firefox', 'https://www.rtbf.be/auvio/direct_le-beau-velo-de-ravel?lid=408218#/']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.08.08 [3157158] (pip)
[debug] Python 3.9.13 (CPython 64bit) - macOS-10.15.7-x86_64-i386-64bit
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 5.1 (setts), ffprobe 5.1
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.06.15, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.3
[Cookies] Extracting cookies from firefox
[debug] Extracting cookies from: "/Users/xxx/Library/Application Support/Firefox/Profiles/xc8x3893.default-release/cookies.sqlite"
[Cookies] Extracted 888 cookies from firefox
[debug] Proxy map: {}
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.08.08, Current version: 2022.08.08
yt-dlp is up to date (2022.08.08)
[debug] [RTBF] Extracting URL: https://www.rtbf.be/auvio/direct_le-beau-velo-de-ravel?lid=408218#/
[RTBF] 408218: Downloading webpage
ERROR: 408218: An extractor error has occurred. (caused by KeyError('subtitle')); please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
File "/usr/local/Cellar/yt-dlp/2022.8.8/libexec/lib/python3.9/site-packages/yt_dlp/extractor/common.py", line 666, in extract
ie_result = self._real_extract(url)
File "/usr/local/Cellar/yt-dlp/2022.8.8/libexec/lib/python3.9/site-packages/yt_dlp/extractor/redbee.py", line 283, in _real_extract
title = data['subtitle']
KeyError: 'subtitle'
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 15 (4 by maintainers)
Commits related to this issue
- [extractor/rtbf] Fix stream extractor (#4671) Closes #4656 Authored by: elyse0 — committed to yt-dlp/yt-dlp by elyse0 2 years ago
Thanks!
I’ve already found a fix using the new RedBee extractor (https://github.com/yt-dlp/yt-dlp/pull/4479), I’m just trying to figure out what to do with the ‘fake’ streams without affecting old videos 🤔
The problem is the sound in the stream because the video without sound there is 0 problem it is fluid but as soon as you activate the sound then everything freezes but that is them the problem and not us but I say it anyway for your tests 😃
Update : It was my computer the problem, sorry x)
(The site and the live feeds are currently in trouble I think because they don’t load properly from what I see) I think I may have discovered something. I tried with Safari and I looked at what was going through the network and it’s not a Dash feed but a M3U8 feed! So there is a way to get it and there is no token as far as I can see.
Here is what I could get: https://c9851ec-rbm-hilv.fsly.cdn.ebsd.ericsson.net/L25/3bd9567b/ee1747fe.isml/.m3u8
Okay, thank you very much. I must admit that DASH and DRM protection are subjects that still escape me a little… If you need, or if you have any questions I would be delighted to help you.
This is the first time I’ve tried it. I discovered the repo while searching because YT-DL doesn’t work at all for the site and this discovery seems to work very well for VOD which is great but I was using it mainly for the Live stream. And be careful because it throws fake “m3u8” streams that are fixed and always the same… Because that’s what YT-DL does it downloads the fake streams and not the protected DASH stream. But this is the first time I’m trying it and I didn’t see any info on the live stream so I took the liberty of opening a ticket. I will test tomorrow to see if I get the same thing as you, thanks for your help