Skip to content

Commit

Permalink
fix virustotal limit err (#1548)
Browse files Browse the repository at this point in the history
  • Loading branch information
dogancanbakir authored Feb 20, 2025
1 parent 62fbcad commit cf2b9d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v2/pkg/subscraping/sources/virustotal/virustotal.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func (s *Source) Run(ctx context.Context, domain string, session *subscraping.Se
}
var cursor string = ""
for {
var url string = fmt.Sprintf("https://www.virustotal.com/api/v3/domains/%s/subdomains?limit=1000", domain)
var url string = fmt.Sprintf("https://www.virustotal.com/api/v3/domains/%s/subdomains?limit=40", domain)
if cursor != "" {
url = fmt.Sprintf("%s&cursor=%s", url, cursor)
}
Expand Down

0 comments on commit cf2b9d7

Please sign in to comment.