Simple script to get all image urls from an album
-
Go to Imgur and register a client: https://api.imgur.com/oauth2/addclient
-
Add secrets:
echo 'IMGUR_CLIENT_ID=<client-id> IMGUR_CLIENT_SECRET=<client-secret> IMGUR_ALBUM_ID=<album-id>' > .secrets
-
Build container image for script
docker build -t imgur_script .
-
Run script in container
docker run -it --rm --env-file .secrets imgur_script