- 支持环境变量配置DOH域名和DNS服务器
- 问题修复
This commit is contained in:
jxxghp
2024-07-09 08:09:58 +08:00
parent 23fe643526
commit 52d0703812
4 changed files with 10 additions and 8 deletions

View File

@ -76,6 +76,8 @@ class DownloadChain(ChainBase):
msg_text = f"{msg_text}\n促销:{torrent.volume_factor}"
if torrent.hit_and_run:
msg_text = f"{msg_text}\nHit&Run"
if torrent.labels:
msg_text = f"{msg_text}\n标签:{' '.join(torrent.labels)}"
if torrent.description:
html_re = re.compile(r'<[^>]+>', re.S)
description = html_re.sub('', torrent.description)