I have no time to review my commit

This commit is contained in:
2024-02-27 14:24:25 +01:00
parent c70872a0e5
commit 166eff8a8a
23 changed files with 400 additions and 53 deletions

View File

@@ -36,11 +36,11 @@ class TikTokUploadEngine(BaseUploadEngine):
description = description.replace(word, "")
title = title.strip()
description = description.strip().replace("\n", " ") # Newlines are not supported by this uploader
description = description.strip()
hashtags_str = " ".join(hashtags) + " " if hashtags else ""
failed = upload_video(
filename=self.ctx.get_file_path("final.mp4"),
description=f"{title} {description} {hashtags_str}",
description=f"{title}\n{description} {hashtags_str}",
cookies_str=cookies,
browser="chrome",
comment=True, stitch=False, duet=False