Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jarelllama authored Apr 1, 2024
1 parent f5f62e1 commit 09715c3
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions functions/retrieve_domains.sh
Original file line number Diff line number Diff line change
Expand Up @@ -275,11 +275,10 @@ log_source() {
item="$search_term"
fi

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}"
printf "%s/n" "$row" >> "$SOURCE_LOG"
echo "${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"

printf "\n\e[1mSource:\e[0m %s\n" "${item:-$source}"
printf "Raw:%4s Final:%4s Whitelisted:%4s Excluded:%4s Toplist:%4s\n" \
Expand Down

0 comments on commit 09715c3

Please sign in to comment.