From 783f13abf883a5e9ae73496a16acab69d14948c2 Mon Sep 17 00:00:00 2001 From: Roy Olav Purser Date: Tue, 25 May 2021 10:49:15 +0200 Subject: [PATCH] set metadata from html --- backend/stream.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/stream.py b/backend/stream.py index 199338e..66e3462 100755 --- a/backend/stream.py +++ b/backend/stream.py @@ -229,7 +229,8 @@ class UpstreamHandler(): parser = MetaParser() parser.feed(text) data = parser.meta_data - data = data_filtered + else: + data = data_filtered except Exception as e: logger.info(e) return data