all repos — dotfiles @ 39662f3cf734197b6d67f76686fca025f7dd2a8e

linux dotfiles

bin(go): update fetchtitle.go
Prithu Goswami pg@prithu.dev
Tue, 09 Apr 2024 08:40:41 +0530
commit

39662f3cf734197b6d67f76686fca025f7dd2a8e

parent

bc95bc6d4e634f2f8b90e2596184ba3d47e2b5be

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M bin/go/fetchtitle.gobin/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:]