only accept 200
This commit is contained in:
@@ -47,6 +47,10 @@ for url in "${urls[@]}"; do
|
|||||||
continue # Try the next URL
|
continue # Try the next URL
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ $output -ne 200 ]]; then
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -n "$original_output" ]; then
|
if [ -n "$original_output" ]; then
|
||||||
#echo "$(cat $temp_file)"
|
#echo "$(cat $temp_file)"
|
||||||
cat "$temp_file" > "$original_output"
|
cat "$temp_file" > "$original_output"
|
||||||
|
|||||||
Reference in New Issue
Block a user