Created
January 3, 2022 05:17
-
-
Save rileyjshaw/c4a298d63e3aa57ce0602112abbf6a55 to your computer and use it in GitHub Desktop.
Download a collection of PDFs from the Internet Archive
This file contains 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
#!/bin/bash | |
# Dependency: https://archive.org/services/docs/api/internetarchive/cli.html | |
# Usage example: ./download.sh byte-magazine | |
ia search "collection:$1" --itemlist | parallel 'ia download {} --glob="*.pdf"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment