aboutsummaryrefslogtreecommitdiffstats
path: root/skate/cmd/skate-wikipedia-doi
diff options
context:
space:
mode:
authorMartin Czygan <martin@archive.org>2021-07-26 17:43:04 +0000
committerMartin Czygan <martin@archive.org>2021-07-26 17:43:04 +0000
commitaeaa60211e33cb49da98770b3461cbca2c2a65cc (patch)
tree1def8dfcd4d2c035a8b5ee6d88507a1ad53a8b40 /skate/cmd/skate-wikipedia-doi
parentbefd7895262e2469367e2a4f71f78148b9986dee (diff)
parent0d4c3ca311b1057bdb07144b0ac8ba860be2de55 (diff)
downloadrefcat-aeaa60211e33cb49da98770b3461cbca2c2a65cc.tar.gz
refcat-aeaa60211e33cb49da98770b3461cbca2c2a65cc.zip
Merge branch 'bnewbold-skate-tweaks' into 'master'
proposed changes and fixes to skate matching See merge request martin/cgraph!3
Diffstat (limited to 'skate/cmd/skate-wikipedia-doi')
-rw-r--r--skate/cmd/skate-wikipedia-doi/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/skate/cmd/skate-wikipedia-doi/main.go b/skate/cmd/skate-wikipedia-doi/main.go
index a6d82c0..3f7afde 100644
--- a/skate/cmd/skate-wikipedia-doi/main.go
+++ b/skate/cmd/skate-wikipedia-doi/main.go
@@ -39,7 +39,7 @@ func main() {
return nil, nil
}
var (
- doi = wsReplacer.Replace(match[0])
+ doi = skate.SanitizeDOI(wsReplacer.Replace(match[0]))
pageTitle = strings.TrimSpace(w.PageTitle)
s = fmt.Sprintf("%s\t%s\t%s", doi, pageTitle, string(p))
)