TiktokAutoUploader - Open to code contributions
Automatically Edits Videos and Uploads to Tiktok with 1 line of code.
Setup
pip install -r requirements.txt
Have you installed ImageMagick on your system,
https://imagemagick.org/script/download.php
Then in site-packages, go to moviepy and edit config_defualts.py
Change this auto to your path like shown in image above.
Parameters
method uploadVideo(video_dir, videoText, startTime=0, endTime=0, private=True, test=True)
By defualt test=True meaning it will not upload and only stay preview for user to click upload.
Switching to test=False, it will upload.
Notes
Please use chromedriver.exe provided as its source code has been edited to avoid bot detection on tiktok website.
Use only tiktok accounts that can be accessed through email password on browser, OAuth2.0 may not work, slightly probable.
Do not spam upload videos as tiktok will most likely ban you after this or during the act.
I am not responsible/ liable for any damages or problems or resulting effects you face using this tool or in relation with this tool, use at own risk.
Basic Usage Example
if name == "main":
# Example Usage tiktok_bot = Main("VideosDirPath") # Use a video from your directory. tiktok_bot.uploadVideo("test1.mp4", "This is text \n overlay on \n the video", 1, 45) # Or use youtube url as video source. [Simpsons Meme 1:16 - 1:32 Example] tiktok_bot.uploadVideo("https://www.youtube.com/watch?v=OGEouryaQ3g", "TextOverlay", startTime=76, endTime=92, private=False)