FollieHiyuki-dotfiles/home/.local/bin/imdb
2021-03-13 18:34:45 +03: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 .