Skip to content
Snippets Groups Projects
Commit 082784b7 authored by ale's avatar ale
Browse files

Fix the Handler in cmd/links

parent 533f4725
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,7 @@ var (
validSchemes = flag.String("schemes", "http,https", "comma-separated list of allowed protocols")
)
func extractLinks(p crawl.Publisher, u string, depth int, resp *http.Response, _ error) error {
func extractLinks(p crawl.Publisher, u string, tag, depth int, resp *http.Response, _ error) error {
links, err := analysis.GetLinks(resp)
if err != nil {
// Not a fatal error, just a bad web page.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment