diff --git a/app/chain/download.py b/app/chain/download.py index a6009eee..3ae393ea 100644 --- a/app/chain/download.py +++ b/app/chain/download.py @@ -48,9 +48,12 @@ class DownloadChain(ChainBase): msg_text = f"{msg_text}\n大小:{size}" if torrent.title: msg_text = f"{msg_text}\n种子:{torrent.title}" + if torrent.pubdate: + msg_text = f"{msg_text}\n发布时间:{torrent.pubdate}" if torrent.seeders: msg_text = f"{msg_text}\n做种数:{torrent.seeders}" - msg_text = f"{msg_text}\n促销:{torrent.volume_factor}" + if torrent.uploadvolumefactor and torrent.downloadvolumefactor: + msg_text = f"{msg_text}\n促销:{torrent.volume_factor}" if torrent.hit_and_run: msg_text = f"{msg_text}\nHit&Run:是" if torrent.description: diff --git a/app/modules/slack/slack.py b/app/modules/slack/slack.py index ca9c88d2..764bd4fe 100644 --- a/app/modules/slack/slack.py +++ b/app/modules/slack/slack.py @@ -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 diff --git a/app/modules/telegram/telegram.py b/app/modules/telegram/telegram.py index 5f51f658..3bb2a1c8 100644 --- a/app/modules/telegram/telegram.py +++ b/app/modules/telegram/telegram.py @@ -153,6 +153,7 @@ class Telegram(metaclass=Singleton): 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 diff --git a/app/modules/wechat/wechat.py b/app/modules/wechat/wechat.py index 5d7751f4..f3e418e1 100644 --- a/app/modules/wechat/wechat.py +++ b/app/modules/wechat/wechat.py @@ -222,6 +222,7 @@ class WeChat(metaclass=Singleton): torrent_title = f"{index}.【{torrent.site_name}】" \ f"{meta.season_episode} " \ f"{meta.resource_term} " \ + f"{meta.video_term} " \ f"{meta.release_group} " \ f"{StringUtils.str_filesize(torrent.size)} " \ f"{torrent.volume_factor} " \