Created
February 16, 2017 04:30
-
-
Save asus4/5cfff1a16b344750d89c1d253a956da7 to your computer and use it in GitHub Desktop.
名前占いの画像をダウンロードする!
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
#!/bin/bash | |
if [ $# -ne 2 ]; then | |
echo "option is ./namae.sh 性 名" 1>&2 | |
exit 1 | |
fi | |
echo "downloading $1 $2" | |
curl "https://enamae.net/download.php?sei=$1&mei=$2" > "$1$2.jpg" | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment