🐛 Fix incomplete url when expand

This commit is contained in:
2024-08-19 15:36:57 +08:00
parent 3d5ba6ef4c
commit 8bea691f2e
3 changed files with 4 additions and 4 deletions

View File

@ -96,7 +96,7 @@ func LinkExpand(target string) (*models.LinkMeta, error) {
log.Debug().Str("url", target).Msg("Expanding link... analyzing")
})
c.OnError(func(r *colly.Response, err error) {
log.Warn().Err(err).Str("url", target).Str("resp", string(r.Body)).Msg("Expanding link... failed")
log.Warn().Err(err).Str("url", target).Msg("Expanding link... failed")
})
c.OnScraped(func(r *colly.Response) {