FollieHiyuki-dotfiles/home/.local/bin/imdb
2021-10-17 21:47:45 +07:00

7 lines
145 B
Bash
Executable File

#!/bin/sh
apiKey=946f500a
movie=$( (echo "$@" | tr " " + ) | sed 's/-d+//g' )
curl -s "http://www.omdbapi.com/?t=$movie&apikey=$apiKey" | jq .