Created
November 4, 2023 09:48
-
-
Save neverstew/840dfc7b8fcb49ac6b72f2302dbb618e to your computer and use it in GitHub Desktop.
Download ACSM files without DRM
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
#!/usr/bin/env bash | |
if [ $# -lt 1 ]; then | |
echo "Please provide at least one file to download"; | |
exit 1; | |
fi | |
for link in "$@"; | |
do | |
echo Converting $link... | |
docker run -it -v $(pwd):/home/knock -v ~/.config/knock:/root/.config/knock --rm jeffrice/docker-knock "$link" | |
rm -f $link | |
done | |
echo Done! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment