[feature] support product link in douyin

This commit is contained in:
Leo Song
2025-10-15 16:25:12 +08:00
parent ac80cd2ddd
commit 250fff19a9
4 changed files with 148 additions and 35 deletions
+4 -1
View File
@@ -335,6 +335,7 @@ def postVideo():
enableTimer = data.get('enableTimer')
if category == 0:
category = None
productLink = data.get('productLink', '')
videos_per_day = data.get('videosPerDay')
daily_times = data.get('dailyTimes')
@@ -418,6 +419,8 @@ def postVideoBatch():
enableTimer = data.get('enableTimer')
if category == 0:
category = None
productLink = data.get('productLink', '')
productTitle = data.get('productTitle', '')
videos_per_day = data.get('videosPerDay')
daily_times = data.get('dailyTimes')
@@ -433,7 +436,7 @@ def postVideoBatch():
start_days)
case 3:
post_video_DouYin(title, file_list, tags, account_list, category, enableTimer, videos_per_day, daily_times,
start_days)
start_days, productLink, productTitle)
case 4:
post_video_ks(title, file_list, tags, account_list, category, enableTimer, videos_per_day, daily_times,
start_days)