bin(go): update fetchtitle.go
Prithu Goswami pg@prithu.dev
Tue, 09 Apr 2024 08:40:41 +0530
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
bin/go/fetchtitle.go
→
bin/go/fetchtitle.go
@@ -10,7 +10,7 @@ "regexp"
) func main() { - re := regexp.MustCompile(`<title>(.*?)</title>`) + re := regexp.MustCompile(`<title>\n*(.*?)\n*</title>`) command := os.Args[0] urls := os.Args[1:]