aboutsummaryrefslogtreecommitdiffstats
path: root/skate/cmd
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-05-06 20:13:30 +0200
committerMartin Czygan <martin.czygan@gmail.com>2021-05-06 20:13:30 +0200
commit6e100b23bf846f36025092a83d433e6cf4f0a9b6 (patch)
tree015948b142aff27b724285b5dabc5e724f178d4d /skate/cmd
parent6c327acbf5799dde9c153843ac3ba1471e88317c (diff)
downloadrefcat-6e100b23bf846f36025092a83d433e6cf4f0a9b6.tar.gz
refcat-6e100b23bf846f36025092a83d433e6cf4f0a9b6.zip
add a url extractor mapper
Diffstat (limited to 'skate/cmd')
-rw-r--r--skate/cmd/skate-map/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/skate/cmd/skate-map/main.go b/skate/cmd/skate-map/main.go
index 227acf2..9bf2d14 100644
--- a/skate/cmd/skate-map/main.go
+++ b/skate/cmd/skate-map/main.go
@@ -72,6 +72,7 @@ func main() {
"tn": skate.MapperTitleNormalized,
"ty": skate.MapperTitleNysiis,
"ts": skate.MapperTitleSandcrawler,
+ "ru": skate.MapperURLFromRef,
}
if *logFile != "" {
f, err := os.OpenFile(*logFile, os.O_CREATE|os.O_APPEND, 0644)