added https to rasplice

This commit is contained in:
panda 2017-03-07 11:41:48 +01:00
parent b76915bfc3
commit aac9f2b26e

View file

@ -33,7 +33,7 @@ if [ $random = "y" ]; then
randomchars=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 16 | head -n 1)
fi
rasplice=$(curl -s http://rasplice.contaminati.net/sproloquio.txt | grep -e "[^\ ]\{$lenght,\}" | shuf -n $words | sed 's/^\(.\)/\U\1/' | paste -sd "")
rasplice=$(curl -k -s https://rasplice.contaminati.net/sproloquio.txt | grep -e "[^\ ]\{$lenght,\}" | shuf -n $words | sed 's/^\(.\)/\U\1/' | paste -sd "")
if [ ! -z "$limit" ] && [ ! $limit = "n" ]; then
rasplice=$(echo $rasplice | cut -c1-$limit)