airtable has changed hosting pattern

This commit is contained in:
neil 2022-11-18 20:32:58 +08:00
parent 83d7a61c06
commit f907b23acc

View file

@ -13,7 +13,7 @@ for row in $($packages | jq -r '.[] | @base64'); do
}
dl_url=$(_jq '.thumb_image_url')
if [[ $dl_url == *"https://dl.airtable.com/.attachments"* ]]; then
if [[ $dl_url == *"airtable"* ]]; then
filename=$(basename -- "$dl_url")
extension="${filename##*.}"
filename="${filename%.*}"