Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- wget -q -O cat.json https://api.thecatapi.com/v1/images/search?size=full
- jq -r '.[0].ur'l cat.json >kitty
- wget -q -O sweetkittie -i kitty
- img2txt sweetkittie
- wget -q -O joke.json http://api.icndb.com/jokes/random
- jq '.value.joke' joke.json
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement