Revisions
-
PyYoshi revised this gist
Sep 4, 2014 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ #!/bin/bash # iTunes Festival 2014 - Show Downloader # Variables cookie=$(cat ./cookie) tag=$1 artist=$2 @@ -13,7 +13,7 @@ mkdir -p $artist cd $artist # Fetching parts links echo "iTunes Festival 2014 - Start download of ${artist} show ($tag/09/2014)" index=$(curl -s -b "$cookie" http://streaming.itunesfestival.com/auth/eu6/vod/201409$tag/v1/${artist}_desktop_vod.m3u8 | tail -n1) files=$(curl -s -b "$cookie" http://streaming.itunesfestival.com/auth/eu6/vod/201409$tag/v1/$index) @@ -32,4 +32,4 @@ cat $( ls -1 *.ts | sort -n ) > $output mv $output ../ cd .. rm -r $artist echo "Done." -
tdragonite revised this gist
Sep 2, 2014 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,14 +6,14 @@ tag=$1 artist=$2 counter=1 show=(${artist//_/ }) output=${show[1]}_itf${tag}092014.mp4 # Making temp directory mkdir -p $artist cd $artist # Fetching parts links echo "iTunes Festival 2014 - Start download of ${show[1]} show ($tag/09/2014)" index=$(curl -s -b "$cookie" http://streaming.itunesfestival.com/auth/eu6/vod/201409$tag/v1/${artist}_desktop_vod.m3u8 | tail -n1) files=$(curl -s -b "$cookie" http://streaming.itunesfestival.com/auth/eu6/vod/201409$tag/v1/$index) -
tdragonite revised this gist
Sep 2, 2014 . 1 changed file with 8 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,18 +1,20 @@ #!/bin/bash # iTunes Festival 2014 - Show Downloader # Variables cookie=$(cat ./cookie) tag=$1 artist=$2 counter=1 show=(${artist//_/ }) output=${show[1]}_itf$1092014.mp4 # Making temp directory mkdir -p $artist cd $artist # Fetching parts links echo "iTunes Festival 2014 - Start download of ${show[1]} show ($1/09/2014)" index=$(curl -s -b "$cookie" http://streaming.itunesfestival.com/auth/eu6/vod/201409$tag/v1/${artist}_desktop_vod.m3u8 | tail -n1) files=$(curl -s -b "$cookie" http://streaming.itunesfestival.com/auth/eu6/vod/201409$tag/v1/$index) # Download parts @@ -25,9 +27,9 @@ fi done # Merging parts and move in parent directory echo "Building: $output" cat $( ls -1 *.ts | sort -n ) > $output mv $output ../ cd .. rm -r $artist echo "Done." -
tdragonite revised this gist
Sep 2, 2014 . 1 changed file with 16 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,23 +1,33 @@ #!/bin/bash # iTunes Festival 2014 - Show Downloader # Variables cookie=$(cat ./cookie) tag=$1 artist=$2 counter=1 # Making temp directory mkdir -p $artist cd $artist # Fetching parts links echo "iTunes Festival 2014 - Start download of $2 show ($1/09/2014)" index=$(curl -s -b "$cookie" http://streaming.itunesfestival.com/auth/eu6/vod/201409$tag/v1/${artist}_desktop_vod.m3u8 | tai$ files=$(curl -s -b "$cookie" http://streaming.itunesfestival.com/auth/eu6/vod/201409$tag/v1/$index) # Download parts for i in $files; do if [[ "$i" =~ "song" ]]; then echo "Downloading: $i" curl -b "$cookie" http://streaming.itunesfestival.com/auth/eu6/vod/201409$tag/v1/8500_256/$i > $counter.ts counter=$((counter+1)) fi done # Merging parts and move in parent directory echo "Building: $artist.ts" cat $( ls -1 *.ts | sort -n ) > $artist.ts mv $artist.ts ../ cd .. rm -r $artist echo "Done." -
tdragonite revised this gist
Sep 2, 2014 . 2 changed files with 13 additions and 10 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,4 +5,6 @@ 4. Launch the script: `./itunes-festival.sh day artist` 5. Have fun. Working for iTunes Festival September 2014. Also on OS X. Tnx to the original creator! This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,20 +3,21 @@ cookie=$(cat ./cookie) tag=$1 artist=$2 counter=1 mkdir -p $artist cd $artist index=$(curl -s -b "$cookie" http://streaming.itunesfestival.com/auth/eu6/vod/201409$tag/v1/${artist}_desktop_vod.m3u8 | tail -n1) files=$(curl -s -b "$cookie" http://streaming.itunesfestival.com/auth/eu6/vod/201409$tag/v1/$index) for i in $files; do if [[ "$i" =~ "song" ]]; then curl -b "$cookie" http://streaming.itunesfestival.com/auth/eu6/vod/201409$tag/v1/8500_256/$i > $counter.ts counter=$((counter+1)) fi done cat $( ls -1 *.ts | sort -n ) > $artist.ts mv $artist.ts ../ cd .. rm -r $artist -
badboy revised this gist
Sep 8, 2013 . 1 changed file with 7 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,16 +1,19 @@ #!/bin/bash cookie=$(cat ./cookie) tag=$1 artist=$2 mkdir -p $artist cd $artist index=$(curl -s -b "$cookie" http://streaming.itunesfestival.com/auth/eu6/vod/201309$tag/v3/${artist}_desktop_vod.m3u8 | tail -n1) files=$(curl -s -b "$cookie" http://streaming.itunesfestival.com/auth/eu6/vod/201309$tag/v3/$index) for i in $files; do if [[ "$i" =~ "fileSeq" ]]; then curl -b "$cookie" http://streaming.itunesfestival.com/auth/eu6/vod/201309$tag/v3/8500_256/$i > $i fi done cat fileSequence* > $artist.ts -
badboy revised this gist
Sep 26, 2012 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,4 +3,6 @@ 2. Make sure you have a cookie like `AKCNTYPE=WIFI; AKID=abc; token=expires...` and put it in `~/cookie` 3. Find the name and day of the artist you want to load, replace whitespace with underscores. 4. Launch the script: `./itunes-festival.sh day artist` 5. Have fun. and because I'm not the creator of this script: henne war's! -
badboy created this gist
Sep 16, 2012 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ 1. Get your cookie. Either proxy your iPhone/iPod/iPad and record the cookie using the proxy server of your choice or capture the request using your AP with Wireshark or similar 2. Make sure you have a cookie like `AKCNTYPE=WIFI; AKID=abc; token=expires...` and put it in `~/cookie` 3. Find the name and day of the artist you want to load, replace whitespace with underscores. 4. Launch the script: `./itunes-festival.sh day artist` 5. Have fun. This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ #!/bin/bash cookie=$(cat ~/cookie) tag=$1 artist=$2 mkdir -p $artist cd $artist index=$(curl -s -b "$cookie" http://streaming.itunesfestival.com/auth/eu6/vod/201209$tag/${artist}_desktop_vod.m3u8 | head -n5 | tail -n1) files=$(curl -s -b "$cookie" http://streaming.itunesfestival.com/auth/eu6/vod/201209$tag/$index) for i in $files; do curl -b "$cookie" http://streaming.itunesfestival.com/auth/eu6/vod/201209$tag/5500_256/$i > $i; done cat fileSequence* > $artist.ts mv $artist.ts ../ cd .. rm -r $artist