mirror of
https://github.com/projectdiscovery/httpx.git
synced 2024-08-17 05:20:29 +03:00
fixed empty title in json
This commit is contained in:
parent
bcd2063cdc
commit
df11fde4aa
@ -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))
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user