fix
This commit is contained in:
parent
b0bf2ff0df
commit
b6014db7d7
@ -90,12 +90,12 @@ function create_game_character() {
|
|||||||
group=origin
|
group=origin
|
||||||
season=0
|
season=0
|
||||||
;;
|
;;
|
||||||
chinese|dragon|cerberus|pegasus)
|
chinese|dragon|cerberus|pegasus|leviathan)
|
||||||
gender=male
|
gender=male
|
||||||
group=fantasy
|
group=fantasy
|
||||||
season=1
|
season=1
|
||||||
;;
|
;;
|
||||||
kitsune|phoenix|leviathan|kirin|wyvern)
|
kitsune|phoenix|kirin|wyvern)
|
||||||
gender=female
|
gender=female
|
||||||
group=fantasy
|
group=fantasy
|
||||||
season=1
|
season=1
|
||||||
@ -106,11 +106,12 @@ function create_game_character() {
|
|||||||
|
|
||||||
jj=`curl -sL "$url?repo=$repo&collection=$col&rkey=$rkey"`
|
jj=`curl -sL "$url?repo=$repo&collection=$col&rkey=$rkey"`
|
||||||
|
|
||||||
echo $jj
|
|
||||||
link=`echo $jj|jq -r '.value.embed.external.thumb.ref.[]'`
|
link=`echo $jj|jq -r '.value.embed.external.thumb.ref.[]'`
|
||||||
size=`echo $jj|jq -r .value.embed.external.thumb.size`
|
size=`echo $jj|jq -r .value.embed.external.thumb.size`
|
||||||
mtype=`echo $jj|jq -r .value.embed.external.thumb.mimeType`
|
mtype=`echo $jj|jq -r .value.embed.external.thumb.mimeType`
|
||||||
echo $mtype, $size, $link
|
echo $name
|
||||||
|
echo $gender
|
||||||
|
echo https://cdn.bsky.app/img/feed_thumbnail/plain/did:plc:4hqjfn7m6n5hno3doamuhgef/$link
|
||||||
|
|
||||||
## upload img
|
## upload img
|
||||||
#if [ -f ./${name}.jpeg ];then
|
#if [ -f ./${name}.jpeg ];then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user