Always scrape the first page
This commit is contained in:
@@ -54,9 +54,9 @@ func FindLinks(url string) chan string {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
c.Visit(url)
|
|
||||||
|
|
||||||
go func() {
|
go func() {
|
||||||
|
links <- url
|
||||||
|
c.Visit(url)
|
||||||
c.Wait()
|
c.Wait()
|
||||||
close(links)
|
close(links)
|
||||||
}()
|
}()
|
||||||
|
|||||||
372
internal/rice-box.go
Normal file
372
internal/rice-box.go
Normal file
File diff suppressed because one or more lines are too long
2
internal/static/js/spyda.min.js
vendored
2
internal/static/js/spyda.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user