From a4d9402a57a701becf82b8e05997f4d7d3335dc5 Mon Sep 17 00:00:00 2001 From: SudoVanilla Date: Sat, 18 May 2024 13:51:06 -0400 Subject: [PATCH 1/2] Update link to SudoVanilla instance (#124) --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9268dad..ad35629 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,8 @@ This project is super lightweight by design. The UI is simple and the frontend i | [overflow.freedit.eu](overflow.freedit.eu) | United States | Operated by [freedit.eu](https://freedit.eu) | | [ao.ftw.lol](https://ao.ftw.lol) | Germany | Operated by [ftw.lol](https://ftw.lol) | | [anonoverflow.hyperreal.coffee](https://anonoverflow.hyperreal.coffee) | United States | Operated by [hyperreal.coffee](https://hyperreal.coffee) | -| [overflow.sudovanilla.com](https://overflow.sudovanilla.com) | United States | Operated by [SudoVanilla](https://sudovanilla.com) | +| [o.sudovanilla.org](https://o.sudovanilla.org) | United States | Operated by [SudoVanilla](https://sudovanilla.org) | +| [overflow.sudovanilla.org](https://overflow.sudovanilla.org) | United States | Operated by [SudoVanilla](https://sudovanilla.org) | | [anonymousoverflow.privacyfucking.rocks](https://anonymousoverflow.privacyfucking.rocks/) | Germany | Operated by [privacyfucking.rocks](https://privacyfucking.rocks) | | [exchange.seitan-ayoub.lol](https://exchange.seitan-ayoub.lol) | Germany | Operated by [Seitan Ayoub](https://seitan-ayoub.lol) | | [overflow.r4fo.com](https://overflow.r4fo.com) | The Netherlands | Operated by [r4fo.com](https://r4fo.com) | From 215f24cd53e77125995adee8e8c44f8e60e08c39 Mon Sep 17 00:00:00 2001 From: Solomon Date: Fri, 7 Jun 2024 19:50:33 +0000 Subject: [PATCH 2/2] fix: scrape answer comments (#128) --- src/routes/question.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/routes/question.go b/src/routes/question.go index f4f99f3..b4c230c 100644 --- a/src/routes/question.go +++ b/src/routes/question.go @@ -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)