Parses a list of given CBC video URLs and downloads the video files as MP4. Downloads run in parallel but are throttled to three videos at a time to respect CBC's bandwidth.
A separate script takes a single CBC media ID as input and downloads a single file.
Tested to work on (most) video content from the Tokyo 2020 Olympics, the Beijing 2022 Olympics, and the Paris 2024 Olympics.
winget install Microsoft.PowerShell
), or PowerShell on GitHub.You can install FFmpeg and yt-dlp using the script provided or do it yourself.
Use Install-ytdlp-Prerequisites.ps1:
pwsh.exe
and navigate to the repo directory../Install-ytdlp-Prerequisites.ps1
. The script will retrieve FFmpeg and yt-dlp binaries for you and place them in the working directory.ffmpeg.exe
ffplay.exe
ffprobe.exe
yt-dlp.exe
into the same directory as the repo.Use Invoke-ytdlp-CBC-Single.ps1:
pwsh.exe
and navigate to the repo directory../Invoke-ytdlp-CBC-Single.ps1
. The script will prompt for a link. Provide it and continue.
https://www.cbc.ca/player/play/1234567891011
.Use Invoke-ytdlp-CBC.ps1:
URLList.txt
with a list of CBC Video links you want to retrieve, one per line.
https://www.cbc.ca/player/play/1234567891011
pwsh.exe
and navigate to the repo directory../Invoke-ytdlp-CBC.ps1
and watch it go.