only accept 200

This commit is contained in:
squidbear
2025-03-23 12:05:38 +01:00
parent 77e24c9401
commit df80758e55

View File

@@ -47,6 +47,10 @@ for url in "${urls[@]}"; do
continue # Try the next URL
fi
if [[ $output -ne 200 ]]; then
continue
fi
if [ -n "$original_output" ]; then
#echo "$(cat $temp_file)"
cat "$temp_file" > "$original_output"