Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CBC player has new URL formats that breaks downloads #9534

Closed
10 of 11 tasks
trainman261 opened this issue Mar 25, 2024 · 0 comments · Fixed by #9561
Closed
10 of 11 tasks

CBC player has new URL formats that breaks downloads #9534

trainman261 opened this issue Mar 25, 2024 · 0 comments · Fixed by #9561
Labels
site-bug Issue with a specific website

Comments

@trainman261
Copy link
Contributor

trainman261 commented Mar 25, 2024

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

  • I understand that I will be blocked if I intentionally remove or skip any mandatory* field

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:

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
@trainman261 trainman261 added site-bug Issue with a specific website triage Untriaged issue labels Mar 25, 2024
@bashonly bashonly removed the triage Untriaged issue label Mar 26, 2024
bashonly pushed a commit that referenced this issue Apr 3, 2024
aalsuwaidi pushed a commit to aalsuwaidi/yt-dlp that referenced this issue Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
site-bug Issue with a specific website
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants