Skip to content

Commit

Permalink
add full query param to fetch more subs
Browse files Browse the repository at this point in the history
  • Loading branch information
dogancanbakir committed Aug 5, 2024
1 parent 3db101c commit f4ff8fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v2/pkg/subscraping/sources/rapiddns/rapiddns.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func (s *Source) Run(ctx context.Context, domain string, session *subscraping.Se
page := 1
maxPages := 1
for {
resp, err := session.SimpleGet(ctx, fmt.Sprintf("https://rapiddns.io/subdomain/%s?page=%d", domain, page))
resp, err := session.SimpleGet(ctx, fmt.Sprintf("https://rapiddns.io/subdomain/%s?page=%d&full=1", domain, page))
if err != nil {
results <- subscraping.Result{Source: s.Name(), Type: subscraping.Error, Error: err}
s.errors++
Expand Down

0 comments on commit f4ff8fc

Please sign in to comment.