Unable to extract media id on Tele-Quebec
Author: jeanseb3128Created Feb 2, 2026Updated Oct 1, 2026
Labelsgeo-blockedsite-bugpatch-available
Checklist
- I'm reporting that yt-dlp is broken on a supported site
- I've verified that I have updated yt-dlp to nightly or master (update instructions)
- 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 known issues, the FAQ, and the bugtracker for similar issues including closed ones. DO NOT post duplicates
- I've read the policy against AI/LLM contributions and understand I may be blocked from the repository if it is violated
- I've read about sharing account credentials and I'm willing to share it if required
Region
Canada
Provide a description that is worded well enough to be understood
Cannot download files from Telequebec.tv I get a media ID extraction error.
Provide verbose output that clearly demonstrates the problem
- Run your yt-dlp command with -vU flag added (
yt-dlp -vU <your command line>) - If using API, add
'verbose': TruetoYoutubeDLparams instead - Copy the WHOLE output (starting with
[debug] Command-line config) and insert it below
Complete Verbose Output
[debug] Command-line config: ['-vU', 'https://telequebec.tv/regarder/les-millimus/1/4']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version [email protected] from yt-dlp/yt-dlp [9a9a6b6fe]
[debug] Python 3.14.2 (CPython x86_64 64bit) - Linux-6.18.3-arch1-1-x86_64-with-glibc2.42 (OpenSSL 3.6.0 1 Oct 2025, glibc 2.42)
[debug] exe versions: ffmpeg 8.0.1 (setts), ffprobe 8.0.1, rtmpdump 2.6
[debug] Optional libraries: certifi-2026.01.04, pycrypto-3.23.0, requests-2.32.5, sqlite3-3.51.2, urllib3-2.6.3, yt_dlp_ejs-0.4.0
[debug] JS runtimes: deno-2.6.5
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests
[debug] Plugin directories: none
[debug] Loaded 1856 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: [email protected] from yt-dlp/yt-dlp
yt-dlp is up to date ([email protected] from yt-dlp/yt-dlp)
[TeleQuebecEmission] Extracting URL: https://telequebec.tv/regarder/les-millimus/1/4
[TeleQuebecEmission] regarder/les-millimus/1/4: Downloading webpage
ERROR: [TeleQuebecEmission] regarder/les-millimus/1/4: Unable to extract media id; 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/lib/python3.14/site-packages/yt_dlp/extractor/common.py", line 763, in extract
ie_result = self._real_extract(url)
File "/usr/lib/python3.14/site-packages/yt_dlp/extractor/telequebec.py", line 166, in _real_extract
media_id = self._search_regex(
r'mediaId\s*:\s*(?P<id>\d+)', webpage, 'media id')
File "/usr/lib/python3.14/site-packages/yt_dlp/extractor/common.py", line 1345, in _search_regex
raise RegexNotFoundError(f'Unable to extract {_name}')Source: yt-dlp/yt-dlp