fix message content

This commit is contained in:
jxxghp
2023-09-14 09:18:11 +08:00
parent 96c4e0ba2f
commit 6fb0c92183
4 changed files with 7 additions and 1 deletions

View File

@ -272,6 +272,7 @@ class Slack:
link = torrent.page_url
title = f"{meta.season_episode} " \
f"{meta.resource_term} " \
f"{meta.video_term} " \
f"{meta.release_group}"
title = re.sub(r"\s+", " ", title).strip()
free = torrent.volume_factor