mirror of
https://github.com/httpjamesm/AnonymousOverflow.git
synced 2025-04-20 22:09:15 +00:00
fix: scrape answer comments
This commit is contained in:
parent
a4d9402a57
commit
68609c4387
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue