diff --git a/cmd/httpx/httpx.go b/cmd/httpx/httpx.go index fce62f3..d442b9e 100644 --- a/cmd/httpx/httpx.go +++ b/cmd/httpx/httpx.go @@ -207,9 +207,8 @@ retry: builder.WriteString(fmt.Sprintf(" [%d]", resp.ContentLength)) } - title := "" + title := httpx.ExtractTitle(resp) if scanopts.OutputTitle { - title = httpx.ExtractTitle(resp) builder.WriteString(fmt.Sprintf(" [%s]", title)) }