Submit the identifier of an archive.org item. Script extracts the uploader's email address from its metadata and displays it in terminal.
jq
sudo apt install jq
sudo dnf install jq
sudo pacman -S jq
git clone https://github.com/ax-mz/archiveToMail.git
cd archiveToMail/
chmod +x atm.sh
./atm.sh [IDENTIFIER]
The unique identifier of an item can be found in the URL.
For https://archive.org/details/gandi, the identifier is gandi
For https://archive.org/details/scpo_colo0054/mode/1up, the identifier is scpo_colo0054
user@machine:~/archiveToMail$ ./atm.sh gandi
indianturism@gmail.com
user@machine:~/archiveToMail$ ▉
with alias:
user@machine:~$ atm scpo_colo0054
numerisation.bib@sciencespo.fr
user@machine:~$ ▉