fix: 抖音/TikTok 未填标签时 self.tags=None 导致 len() 崩溃,兜底为 []
This commit is contained in:
@@ -73,7 +73,7 @@ class TiktokVideo(object):
|
||||
def __init__(self, title, file_path, tags, publish_date, account_file):
|
||||
self.title = title
|
||||
self.file_path = file_path
|
||||
self.tags = tags
|
||||
self.tags = tags or []
|
||||
self.publish_date = publish_date
|
||||
self.account_file = account_file
|
||||
self.headless = LOCAL_CHROME_HEADLESS
|
||||
|
||||
Reference in New Issue
Block a user