fix: scrape answer comments

This commit is contained in:
Solomon Victorino 2024-06-07 12:38:42 -06:00
parent a4d9402a57
commit 68609c4387

View file

@ -250,6 +250,8 @@ func extractAnswersData(doc *goquery.Document, domain string) ([]types.FilteredA
processedAnswerBody := utils.ProcessHTMLBody(answerBodyHTML)
answer.Body = template.HTML(processedAnswerBody)
answer.Comments = utils.FindAndReturnComments(answerBodyHTML, domain, postLayout)
// Extract author information and timestamp.
extractAnswerAuthorInfo(s, &answer, domain)