Created
April 11, 2025 17:16
-
-
Save avrahamappel/fb11b7e2f8e8b3f004179fddadbea053 to your computer and use it in GitHub Desktop.
Download TorahAnytime video
This file contains hidden or 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
read url && response=$(curl -s "$(echo $url | sed -E 's@(www\.)[email protected]@')") && video_url=$(echo "$response" | jq -r '.video_url') && title=$(echo "$response" | jq -r '.title') && extension="${video_url##*.}" && filename="${title}.${extension}" && curl "$video_url" -o "$filename" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment