6 ms·
quick and dirty powershell to download all the pdfs Invoke-WebRequest -Uri https://tomlehrersongs.com/category/songs/ https://tomlehrersongs.com/category/songs
by lp0_on_fire 4y ago
quick and dirty powershell to download all the pdfs
Invoke-WebRequest -Uri https://tomlehrersongs.com/category/songs/ https://tomlehrersongs.com/category/songs/ `
| Select-Object -Expand Links `
| Where-Object { $_.href.EndsWith(".pdf") } `
| ForEach-Object {
$path = $_.href
$fname = $path.Split('/')[-1]
$stuff = Invoke-WebRequest -Uri https://tomlehrersongs.com$path -o $(Join-Path -Path ./ $fname)
}
- kevincox 4y agoI made a mirror of the whole site and have made it available as well. It is a simple wget mirror but it seems to be correct enough that you can browse and play all of the songs. https://dweb.link/ipfs/Qmf21k4uAz2PMnYQUDDHUKPX8787JoyXLbKUzpvPEdFDdg https://dweb.link/ipfs/Qmf21k4uAz2PMnYQUDDHUKPX8787JoyXLbKUz... I'll try to "seed" it for a while but likely will not keep it alive forever. It would be appreciated if others can help keep it alive in case the site goes down. The data is 1.2GiB after deduplication.
- deleted 4y ago[deleted]