mirror of
https://github.com/thsrite/MoviePilot-Plugins.git
synced 2026-06-04 07:26:52 +00:00
fix 每日一言格式化
This commit is contained in:
@@ -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("<p>", "").replace("</p>", "")
|
||||
except Exception as e:
|
||||
print(e)
|
||||
self.post_message(title=report_title,
|
||||
|
||||
Reference in New Issue
Block a user