From d27da8ef9b7a87192a5b0cbc97c39c7aa4f44120 Mon Sep 17 00:00:00 2001 From: Jarell <91372088+jarelllama@users.noreply.github.com> Date: Mon, 1 Apr 2024 22:35:35 +0800 Subject: [PATCH] Fix retrieve_domains.sh --- functions/retrieve_domains.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/functions/retrieve_domains.sh b/functions/retrieve_domains.sh index 0a2e2c84f..23153f291 100644 --- a/functions/retrieve_domains.sh +++ b/functions/retrieve_domains.sh @@ -275,10 +275,11 @@ log_source() { item="$search_term" fi - echo "${TIME_FORMAT},${source},${search_term},${unfiltered_count:-0}, + row="${TIME_FORMAT},${source},${search_term},${unfiltered_count:-0}, ${filtered_count:-0},${total_whitelisted_count},${dead_count:-0},${redundant_count}, ${parked_count:-0},${toplist_count:-0},$(tr '\n' ' ' <<< "$domains_in_toplist"), -${query_count:-0},${rate_limited:-false}" >> "$SOURCE_LOG" +${query_count:-0},${rate_limited:-false}" + printf "%s/n" "$row" >> "$SOURCE_LOG" printf "\n\e[1mSource:\e[0m %s\n" "${item:-$source}" printf "Raw:%4s Final:%4s Whitelisted:%4s Excluded:%4s Toplist:%4s\n" \