diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2021-07-20 01:32:56 +0200 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2021-07-20 01:32:56 +0200 |
commit | 895110390234aac5c6510a9312890ecfdb20186f (patch) | |
tree | 52fe2b496bd1eae59978c1b37b575116f7e93571 /skate | |
parent | bffd1b13b72136dbfc6c1539f480d32c2f62a7aa (diff) | |
download | refcat-895110390234aac5c6510a9312890ecfdb20186f.tar.gz refcat-895110390234aac5c6510a9312890ecfdb20186f.zip |
reduce: fix wb id
Diffstat (limited to 'skate')
-rw-r--r-- | skate/reduce.go | 2 |
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 |