From 19e4f32196ac682b81c28f8533b94342c2fd464a Mon Sep 17 00:00:00 2001 From: BennyThink Date: Wed, 9 Feb 2022 12:52:51 +0800 Subject: [PATCH] send sub video #55 --- ytdlbot/ytdl_bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ytdlbot/ytdl_bot.py b/ytdlbot/ytdl_bot.py index 512ff9e..9c666cc 100644 --- a/ytdlbot/ytdl_bot.py +++ b/ytdlbot/ytdl_bot.py @@ -302,8 +302,8 @@ def periodic_sub_check(): if video_url: logging.info(f"periodic update:{video_url} - {uids}") for uid in uids: - # TODO can we send and forward? - app.send_message(uid, video_url) + bot_msg = app.send_message(uid, f"{video_url} is downloading...", disable_web_page_preview=True) + ytdl_download_entrance(bot_msg, app, video_url) time.sleep(random.random())