[feature] support product link in douyin
This commit is contained in:
+4
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user