This repository has been archived on 2022-08-21. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/home/.local/bin/imdb

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 .