Closed iamshreeram closed 9 months ago
@edoardottt , I've used goquery to scrape the table from html as this is already being used as indirect dependency.
Do you want me to update the go.mod
as well?
Have you tried it?
If I use this code in a function like this:
func main() {
output := DNSRepoNocSubdomains("google.com", false)
for elem := range output {
fmt.Println(elem)
}
}
I get as result:
Pulling data from Dns Repo Noc
0
1
2
3
4
5
6
...
149
150
@edoardottt , That is interesting. Coz, The standalone code (with this logic) is pulling 151 subdomains of google.
Sorry @iamshreeram, my fault. There was clearly an error in the for loop :/
Do you want me to update the
go.mod
as well?
is it necessary? idk. try to execute go mod tidy
Sure Np. Btw, Do you think, if this PR need any more changes to address #110 ?
This is to address #110