diff options
author | ale <ale@incal.net> | 2020-02-17 21:57:54 +0000 |
---|---|---|
committer | ale <ale@incal.net> | 2020-02-17 21:57:54 +0000 |
commit | 082784b74f4241af0512e69dc80a72efb976dd61 (patch) | |
tree | d6a8af326e0d35913cf742cc3f253f2ec7d1b174 | |
parent | 533f472553d6db42a1ae704285e33f53cf90f81d (diff) | |
download | crawl-082784b74f4241af0512e69dc80a72efb976dd61.tar.gz crawl-082784b74f4241af0512e69dc80a72efb976dd61.zip |
Fix the Handler in cmd/links
-rw-r--r-- | cmd/links/links.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/links/links.go b/cmd/links/links.go index 2263414..0fc87c3 100644 --- a/cmd/links/links.go +++ b/cmd/links/links.go @@ -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. |