Skip to content

Instantly share code, notes, and snippets.

@jpfl
Forked from jsjohnst/keynote_high_bitrate_dl.sh
Created January 5, 2020 13:24
Show Gist options
  • Select an option

  • Save jpfl/821763ad4ebc06c38d1a945138be268e to your computer and use it in GitHub Desktop.

Select an option

Save jpfl/821763ad4ebc06c38d1a945138be268e to your computer and use it in GitHub Desktop.
#!/bin/bash
# If you don't have wget on your Mac, brew install wget
# If you refuse to do that for some odd reason, replace wget with curl -LO (thanks @zadr)
for i in {0..785}; do wget http://qthttp.apple.com.edgesuite.net/1009qpeijrfn/1240/1240_090110_094007_$i.ts; done;
for i in `ls *.ts`; do mv $i `echo $i | awk -F '_' '{printf "%d_%d_%d.%06s", $1, $2, $3, $4}'`; done;
# Then run NullPacketStripper to combine the .ts files together
# It's available from here: http://www.hometheatersoftware.com/stuff/NullPacketStripper/NullPacketStripper_v013beta.zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment