export URL=https://store.line.me/stickershop/product/15200840/en
#export URL=https://store.line.me/emojishop/product/5ad6f19f031a67c6648c6433/en
export EmojiSet="ARKNIGHTS - Rhodes' Work"
export ShortCode="ak_10_"
rm emoji.html && rm emoji/*
curl  $URL > emoji.html
python3 dl.py
python3 tar.py
echo "wget 'https://cloud.moezx.cc/line/emoji-$ShortCode.tar.gz' -P tmp" >> import.sh
echo "RAILS_ENV=production bin/tootctl emoji import './tmp/emoji-$ShortCode.tar.gz' --prefix $ShortCode --category '$EmojiSet'" >> import.sh
