mirror of
https://github.com/projectdiscovery/subfinder
synced 2026-06-21 14:05:24 +00:00
fix: revert virustotal api limit to 1000
Reverts the limit parameter from 40 back to 1000 to reduce API requests. The limit=40 change in #1548 caused excessive pagination, quickly exhausting VirusTotal's 500 request quota. Fixes #1562
This commit is contained in:
@@ -56,7 +56,7 @@ func (s *Source) Run(ctx context.Context, domain string, session *subscraping.Se
|
||||
return
|
||||
default:
|
||||
}
|
||||
var url = fmt.Sprintf("https://www.virustotal.com/api/v3/domains/%s/subdomains?limit=40", domain)
|
||||
var url = fmt.Sprintf("https://www.virustotal.com/api/v3/domains/%s/subdomains?limit=1000", domain)
|
||||
if cursor != "" {
|
||||
url = fmt.Sprintf("%s&cursor=%s", url, cursor)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user