feature:抖音分享链接转视频

This commit is contained in:
liuwei
2025-03-11 10:45:21 +08:00
parent 29970a27bc
commit cecd257be0
5 changed files with 175 additions and 0 deletions
+8
View File
@@ -27,6 +27,7 @@ from base.func_claude import Claude
from beautyleg.beauty_leg import BeautyLeg
from configuration import Config
from constants import ChatType
from douyin_parser.main import DouyinParser
from game_task.game_task_encyclopedia import game_process_message, setup_schedule, get_group_ids, \
run_random_task_assignment
from group_add.main import GroupAdd
@@ -99,6 +100,8 @@ class Robot(Job):
self.beautyleg = BeautyLeg(wcf, self.gbm)
# 加群测试
self.group_add = GroupAdd(wcf, self.gbm)
# 抖音转视频
self.douyin = DouyinParser(wcf, self.gbm)
if ChatType.is_in_chat_types(chat_type):
if chat_type == ChatType.TIGER_BOT.value and TigerBot.value_check(self.config.TIGERBOT):
@@ -368,6 +371,11 @@ class Robot(Job):
self.LOG.error(f"xiuren.handle_message error: {e}")
# 美腿功能
try:
self.beautyleg.handle_message(message=msg)
except Exception as e:
self.LOG.error(f"beautyleg.handle_text error: {e}")
# 抖音组件
try:
self.beautyleg.handle_message(message=msg)
except Exception as e: