From 895110390234aac5c6510a9312890ecfdb20186f Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Tue, 20 Jul 2021 01:32:56 +0200 Subject: reduce: fix wb id --- skate/reduce.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skate/reduce.go b/skate/reduce.go index 9620be3..e8282d8 100644 --- a/skate/reduce.go +++ b/skate/reduce.go @@ -381,7 +381,7 @@ func ZippyWayback(refs, cdx io.Reader, w io.Writer) error { } var bref BiblioRef // TODO: this is a temporary way to generate an id. - encodedURL = strings.ToLower(b32enc.EncodeToString([]byte(lang + ":" + cdx.Line))) + encodedURL := strings.ToLower(b32enc.EncodeToString([]byte(cdx.Line))) bref.Key = fmt.Sprintf("web_%s_%s", ref.ReleaseIdent, encodedURL) bref.IndexedTs = timeNow().UTC().Format(time.RFC3339) bref.SourceReleaseIdent = ref.ReleaseIdent -- cgit v1.2.3