diff --git a/retrieve.sh b/retrieve.sh index 647ce6832..5c40698a4 100644 --- a/retrieve.sh +++ b/retrieve.sh @@ -100,7 +100,7 @@ function source_guntab { url='https://www.guntab.com/scam-websites' printf "\nSource: %s\n\n" "$source" curl -s "$url/" | grep -zoE '.*
' | # Isolate table section - grep -aoE '[[:alnum:].-]+\.[[:alnum:]-]{2,}; 501,$d' > "$domains_file" # Keep only newest 500 domains (note piping to head causes errors in Github's runner) + grep -aoE '[[:alnum:].-]+\.[[:alnum:]-]{2,}' | sed '501,$d' > "$domains_file" # Keep only newest 500 domains (note piping to head causes errors in Github's runner) process_source "$source" "$source" "$domains_file" }