Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
jarelllama authored Apr 19, 2024
1 parent b4f8ba6 commit 7a00128
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions functions/retrieve_domains.sh
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ source_scamdirectory() {
curl -sS --retry 2 --retry-all-errors "${url}/" \
| grep -oE 'href="/[[:alnum:].-]+-[[:alnum:]-]{2,}" title' \
| mawk -F '"/|"' 'NR<=100 {gsub(/-/, ".", $2); print $2}' \
> "$results_file" # Keep only first 100 results
> "$results_file" # Keep only newest 100 results

process_source
}
Expand Down Expand Up @@ -758,7 +758,7 @@ source_stopgunscams() {
curl -sS --retry 2 --retry-all-errors "${url}/sitemap" \
| grep -oE 'class="rank-math-html-sitemap__link">[[:alnum:].-]+\.[[:alnum:]-]{2,}' \
| mawk -F '>' 'NR<=100 {print $2}' > "$results_file"
# Keep only first 100 results
# Keep only newest 100 results

process_source
}
Expand Down

0 comments on commit 7a00128

Please sign in to comment.