Last active
March 20, 2020 19:06
-
-
Save colindekker/afb692c6ce0350110d8a68a98ce39a8f to your computer and use it in GitHub Desktop.
History Of Hardcore Gabber 1992-2000 playlist download script
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 characters
#$d="c:\mp3";mkdir $d;cd $d;Invoke-WebRequest -Uri "https://gist.githubusercontent.com/colindekker/7446842082b5098a633cef846d6faf7b/raw/cbee64d2883e6bdd407f19f18f5024b3293d166c/mp3.csv" -OutFile "mp3.csv";$p = 1;Import-Csv .\mp3.csv |% {$u = $($_.Url);$n=$($p.ToString().PadLeft(3, "0") + " - " + $_.Url.split("/")[-1..-1]);Invoke-WebRequest -Uri $u -OutFile $n;$p = $p + 1;};explorer $d | |
$d="c:\samples";mkdir $d;cd $d;Invoke-WebRequest -Uri "https://gist.githubusercontent.com/colindekker/c3e892355f041910af2c4cad40621ddc/raw/8e18d947bc050fcb51031437deae654712e8f287/gistfile1.csv" -OutFile "samples.csv";$p = 1;Import-Csv .\samples.csv |% {$u = $($_.Url);$n=$($p.ToString().PadLeft(3, "0") + " - " + $_.Url.split("/")[-1..-1]);Invoke-WebRequest -Uri $u -OutFile $n;$p = $p + 1;};explorer $d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment