Adapted to konachan API change
This commit is contained in:
parent
9ed6f63962
commit
4d12f43a7f
@ -58,6 +58,7 @@ while [ 0 ]; do
|
|||||||
url=`echo $json | jq -r '.[0].file_url'`
|
url=`echo $json | jq -r '.[0].file_url'`
|
||||||
ext=`echo $url | sed "s/.*\.//g"`
|
ext=`echo $url | sed "s/.*\.//g"`
|
||||||
|
|
||||||
|
url="http:$url"
|
||||||
local_url="$picdir/$id.$ext"
|
local_url="$picdir/$id.$ext"
|
||||||
|
|
||||||
echo "Updating wallpaper to $id..."
|
echo "Updating wallpaper to $id..."
|
||||||
|
Loading…
Reference in New Issue
Block a user