From 3577e4c34ff5d705a9adacd9550c17e08d918246 Mon Sep 17 00:00:00 2001 From: Philipp Spitzer Date: Sun, 22 May 2022 22:19:46 +0200 Subject: [PATCH] Parse correction_email. --- bots/sledrun_wikitext_to_json.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bots/sledrun_wikitext_to_json.py b/bots/sledrun_wikitext_to_json.py index 132dc26..dc5d06c 100644 --- a/bots/sledrun_wikitext_to_json.py +++ b/bots/sledrun_wikitext_to_json.py @@ -228,6 +228,9 @@ class SledrunWikiTextToJsonBot( video = bb.get('video', None) if isinstance(video, Parameter) and video.value.strip() != "": sledrun_json['videos'] = [{'url': str(video.value.strip())}] + correction = bb.get('Korrektur_To', None) + if isinstance(correction, Parameter) and correction.value.strip() != "": + sledrun_json['correction_email'] = correction.value.strip() _button_bar() def _public_transport(): -- 2.39.5