From 4909153556a84d0b968005cc8b43df528f2dde1d Mon Sep 17 00:00:00 2001 From: jwansek Date: Tue, 8 Apr 2025 17:42:04 +0100 Subject: Added scraping whispa for Q&As --- templates/questions.html.j2 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'templates/questions.html.j2') diff --git a/templates/questions.html.j2 b/templates/questions.html.j2 index 97edd38..eb58380 100644 --- a/templates/questions.html.j2 +++ b/templates/questions.html.j2 @@ -1,9 +1,13 @@ {% extends "template.html.j2" %} {% block content %} -

ask a question!

+

ask a question!

- {% for id_, link, dt, question, answer in qnas %} -
{{ dt.isoformat() }}
+ {% for id_, link, dt, question, answer, host in qnas %} + {% if host == "curiouscat" %} +
{{ dt.isoformat() }} - {{ host }}
+ {% else %} +
{{ dt.isoformat() }} - {{ host }}
+ {% endif %}

{{ question }}

{{ answer }}

-- cgit v1.2.3