aboutsummaryrefslogtreecommitdiffstats
path: root/skate
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-07-20 01:32:56 +0200
committerMartin Czygan <martin.czygan@gmail.com>2021-07-20 01:32:56 +0200
commit895110390234aac5c6510a9312890ecfdb20186f (patch)
tree52fe2b496bd1eae59978c1b37b575116f7e93571 /skate
parentbffd1b13b72136dbfc6c1539f480d32c2f62a7aa (diff)
downloadrefcat-895110390234aac5c6510a9312890ecfdb20186f.tar.gz
refcat-895110390234aac5c6510a9312890ecfdb20186f.zip
reduce: fix wb id
Diffstat (limited to 'skate')
-rw-r--r--skate/reduce.go2
1 files changed, 1 insertions, 1 deletions
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