Switch over to https

This commit is contained in:
Markus Koch 2017-11-27 18:45:25 +01:00
parent 11f224221b
commit 57efb4555f

View File

@ -64,7 +64,7 @@ fi
tags=`echo -n "$tags" | sed "s/ /%20/g"` tags=`echo -n "$tags" | sed "s/ /%20/g"`
while [ 0 ]; do while [ 0 ]; do
json=`curl "http://konachan.com/post.json?tags=$tags&limit=1"` json=`curl "https://konachan.com/post.json?tags=$tags&limit=1"`
id=`echo $json | jq -r '.[0].id'` id=`echo $json | jq -r '.[0].id'`
url=`echo $json | jq -r '.[0].file_url'` url=`echo $json | jq -r '.[0].file_url'`