diff options
| author | horus_arch | 2018-02-07 19:09:22 +0100 |
|---|---|---|
| committer | horus_arch | 2018-02-07 19:09:22 +0100 |
| commit | 14a89c34096d2ddb2a7750feda143207110e838b (patch) | |
| tree | a3edce53bf431977b196fbe4e7fcd1027c11dc41 /crawler/sanitize_name.go | |
| parent | 213317c558142f18b213d3d7b46231817138ca20 (diff) | |
| download | alkobote-14a89c34096d2ddb2a7750feda143207110e838b.tar.gz | |
Adds sanitizer.
Diffstat (limited to 'crawler/sanitize_name.go')
| -rw-r--r-- | crawler/sanitize_name.go | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/crawler/sanitize_name.go b/crawler/sanitize_name.go deleted file mode 100644 index 73b2714..0000000 --- a/crawler/sanitize_name.go +++ /dev/null @@ -1,13 +0,0 @@ -package main - -import ( - "strings" -) - -func sanitize_name(name string) string { - if strings.Contains(name, "y.o.") { - name = strings.Replace(name, "y.o.", "Jahre", 1) - } - - return name -} |
