change image_url to url.
This commit is contained in:
@@ -16,8 +16,8 @@ title=$(echo "$item" | jq -r '.title')
|
||||
url=$(echo "$item" | jq -r '.url')
|
||||
|
||||
# Make sure to stop if the RSS-Bridge is offline or the extraction failed
|
||||
if [ -z "$image_url" ]; then
|
||||
echo "Image URL is empty, exiting script"
|
||||
if [ -z "$url" ]; then
|
||||
echo "URL is empty, exiting script"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user