From 251ab4d12e249d611f4c23df56acda234c812016 Mon Sep 17 00:00:00 2001 From: thsrite Date: Sat, 30 Dec 2023 15:01:06 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E6=AF=8F=E6=97=A5=E4=B8=80=E8=A8=80?= =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/embyreporter/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/embyreporter/__init__.py b/plugins/embyreporter/__init__.py index e5bfd67..db29af7 100644 --- a/plugins/embyreporter/__init__.py +++ b/plugins/embyreporter/__init__.py @@ -170,6 +170,9 @@ class EmbyReporter(_PluginBase): resp = RequestUtils().get_res(url=self._text_url) if resp.status_code == 200: report_text = resp.text + + if report_text: + report_text = str(report_text).replace("

", "").replace("

", "") except Exception as e: print(e) self.post_message(title=report_title,