Skip to content

Instantly share code, notes, and snippets.

@mark05e
Created October 25, 2022 15:48
Show Gist options
  • Save mark05e/687fdff8cec56bad3a7cf7bf19b8db57 to your computer and use it in GitHub Desktop.
Save mark05e/687fdff8cec56bad3a7cf7bf19b8db57 to your computer and use it in GitHub Desktop.

Download MPD streams

Example: https://www.bbc.co.uk/sounds/play/m001cvcj

  1. Open DevTools F12

  2. Start stream

  3. Select network traffic that has mpd and copy link eg: https://aod-dash-ww-live.akamaized.net/usp/auth/vod/piff_abr_full_audio/6403c7-m001cvch/vf_m001cvch_ce14b6c7-98a9-45d7-8ff9-599177ec6366.ism/pc_hd_abr_v2_nonuk_dash_master.mpd?__gda__=1666731595_111116da9dca2edec0f1212121212121

  4. Paste link into the command

PS C:\ultimate-calm> yt-dlp "https://aod-dash-ww-live.akamaized.net/usp/auth/vod/piff_abr_full_audio/6403c7-m001cvch/vf_m001cvch_ce14b6c7-98a9-45d7-8ff9-599177ec6366.ism/pc_hd_abr_v2_nonuk_dash_master.mpd?__gda__=1666731595_111116da9dca2edec0f1212121212121" --no-check-certificate
[generic] pc_hd_abr_v2_nonuk_dash_master: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] pc_hd_abr_v2_nonuk_dash_master: Extracting information
[info] pc_hd_abr_v2_nonuk_dash_master: Downloading 1 format(s): audio_eng_1=96000
[dashsegments] Total fragments: 592
[download] Destination: pc_hd_abr_v2_nonuk_dash_master [pc_hd_abr_v2_nonuk_dash_master].m4a
[download] 100% of   43.66MiB in 00:02:31 at 294.24KiB/s
[FixupM4a] Correcting container of "pc_hd_abr_v2_nonuk_dash_master [pc_hd_abr_v2_nonuk_dash_master].m4a"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment