You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provide a description that is worded well enough to be understood
The URLs used to use the same ID that was also used on ThePlatform, meaning that the URL could be easily transformed into a URL for ThePlatform (see https://github.com/yt-dlp/yt-dlp/blob/e5d4f11104ce7ea1717a90eea82c0f7d230ea5d5/yt_dlp/extractor/cbc.py#L244). The URL now uses an internal ID instead, which breaks the extractor. I haven't gotten around to fixing the code, but I have had the time to look into what is needed to extract the video:
The regex needs to be changed to accept a dot in the ID (example ID: 1.7154317)
In the json code, the media ID has to be extracted, it's located in video/currentClip/mediaID
that mediaID can then be used to construct the ThePlatform URL in the same way as before
Maybe I'll get around to taking care of this in the coming days. If anyone else wants to take care of it, feel free.
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': True to YoutubeDL params instead
Copy the WHOLE output (starting with [debug] Command-line config) and insert it below
Complete Verbose Output
[debug] Command-line config: ['https://www.cbc.ca/player/play/1.7154309', '-vU']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8 (No VT), error utf-8 (No VT), screen utf-8 (No VT)
[debug] yt-dlp version stable@2024.03.10 from yt-dlp/yt-dlp [615a84447] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-7-6.1.7601-SP1 (OpenSSL 1.1.1k 25 Mar 2021)
[debug] exe versions: none
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.02.02, mutagen-1.47.0, requests-2.31.0, sqlite3-3.35.5, urllib3-2.2.1, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets
[debug] Post-Processor Plugins: CheckVideoIntegrityPP
[debug] Plugin directories: ['C:\\Users\\Benjamin\\AppData\\Local\\yt-dlp\\yt-dlp-plugins\\CheckVideoIntegrity\\yt_dlp_plugins', 'C:\\Users\\Benjamin\\AppData\\Local\\yt-dlp\\yt-dlp-plugins\\yt-dont-lock-p\\yt_dlp_plugins']
[debug] Loaded 1803 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: stable@2024.03.10 from yt-dlp/yt-dlp
yt-dlp is up to date (stable@2024.03.10 from yt-dlp/yt-dlp)
[cbc.ca:player] Extracting URL: https://www.cbc.ca/player/play/1.7154309
[ThePlatform] Extracting URL: http://link.theplatform.com/s/ExhSPC/media/guid/2655402169/1?mbr=true&formats=MPEG4,FLV,MP3#__youtubedl_smuggle=%7B%22force_smil_url%22%3A+true%7D
[ThePlatform] 1: Downloading SMIL data
ERROR: [ThePlatform] 1: Unable to download XML: HTTP Error 404: Not Found (caused by <HTTPError 404: Not Found>)
File "yt_dlp\extractor\common.py", line 732, in extract
File "yt_dlp\extractor\theplatform.py", line 315, in _real_extract
File "yt_dlp\extractor\theplatform.py", line 36, in _extract_theplatform_smil
File "yt_dlp\extractor\common.py", line 1086, in download_content
File "yt_dlp\extractor\common.py", line 1050, in download_handle
File "yt_dlp\extractor\adobepass.py", line 1366, in _download_webpage_handle
File "yt_dlp\extractor\common.py", line 920, in _download_webpage_handle
File "yt_dlp\extractor\common.py", line 877, in _request_webpage
File "yt_dlp\extractor\common.py", line 864, in _request_webpage
File "yt_dlp\YoutubeDL.py", line 4101, in urlopen
File "yt_dlp\networking\common.py", line 115, in send
File "yt_dlp\networking\_helper.py", line 204, in wrapper
File "yt_dlp\networking\common.py", line 326, in send
File "yt_dlp\networking\_requests.py", line 351, in _send
yt_dlp.networking.exceptions.HTTPError: HTTP Error 404: Not Found
The text was updated successfully, but these errors were encountered:
DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE
Checklist
Region
Worldwide
Provide a description that is worded well enough to be understood
The URLs used to use the same ID that was also used on ThePlatform, meaning that the URL could be easily transformed into a URL for ThePlatform (see https://github.com/yt-dlp/yt-dlp/blob/e5d4f11104ce7ea1717a90eea82c0f7d230ea5d5/yt_dlp/extractor/cbc.py#L244). The URL now uses an internal ID instead, which breaks the extractor. I haven't gotten around to fixing the code, but I have had the time to look into what is needed to extract the video:
1.7154317
)video/currentClip/mediaID
Maybe I'll get around to taking care of this in the coming days. If anyone else wants to take care of it, feel free.
Provide verbose output that clearly demonstrates the problem
yt-dlp -vU <your command line>
)'verbose': True
toYoutubeDL
params instead[debug] Command-line config
) and insert it belowComplete Verbose Output
The text was updated successfully, but these errors were encountered: