Commit Diff
Diff:
3adf60f83646a91b0eee3026a98a4567077d8304
d26637f129a9b137def8d18e05603944b9badf41
Commit:
d26637f129a9b137def8d18e05603944b9badf41
Tree:
99a71fcd0f709f23b6a56f2604dd69c24e8d965e
Author:
Omar Polo <op@omarpolo.com>
Date:
Thu Dec 2 14:40:41 2021 UTC
Message:
debug printf
commit - 3adf60f83646a91b0eee3026a98a4567077d8304
commit + d26637f129a9b137def8d18e05603944b9badf41
blob - 6a0ffd36c583db64939b566da8a7a7160e2c1446
blob + 2ef2d7e498963cbe0c14c049826fbc3dffc85600
--- main.go
+++ main.go
@@ -145,6 +145,8 @@ func pagetitle(conn *irc.Conn, line *irc.Line) {
matches := httplink.FindAllString(line.Text(), -1)
for _, link := range matches {
+ log.Println("fetching", link, "...")
+
resp, err := http.Get(link)
if err != nil {
continue
Omar Polo