Productivity
āļø If you like this project please feel free to star it, Thank you.
pip
:pip install tiktokautouploader
NOTE: IF YOU HAVE INSTALLED BEFORE, PLEASE MAKE SURE YOU UPGRADE TO THE LATEST VERSION.
Node.js: You must have Node.js installed on your system, as some parts of this package rely on JavaScript code. If you don't have Node.js installed, you can download it from nodejs.org.
playwright
,playwright-extra
, puppeteer-extra-plugin-stealth
) will be AUTOMATICALLY installed the first time you run the function, so you don't need to install them manually. Make sure that npm
(Node.js package manager) is available in your system's PATH.Browser Binaries: If you don't have them already, you'll need to install the browser binaries for playwright
. This library uses chromium and firefox.
to do so, just run the following command AFTER installing the package:
python -m playwright install
NOTE: It is highly recommended you read DOCUMENTATION.md before using the library. The first time you run the code for an account, you will be prompted to log-in, this will only occur the first time the function is used for the account. Check documentation for more info.
from tiktokautouploader import upload_tiktok
video_path = 'path/to/your/video.mp4'
description = 'Check out my latest TikTok video!'
accountname = 'mytiktokaccount'
hashtags = ['#fun', '#viral']
upload_tiktok(video=video_path, description=description, accountname=accountname, hashtags=hashtags)
upload_tiktok(video=video_path, description=description, accountname=accountname, sound_name='trending_sound', sound_aud_vol='main')
PLEASE READ DOCUMENTATION FOR MORE INFO.
upload_tiktok(video=video_path, description=description, accountname=accountname, schedule='03:10', day=11)
PLEASE READ DOCUMENTATION FOR MORE INFO
upload_tiktok(video=video_path, description=description, accountname=accountname, hashtags=hashtags, copyrightcheck=True)
This library requires the following dependencies:
playwright
requests
Pillow
inference
These will be automatically installed when you install the package.
Created by Haziq. Feel free to reach out at haziqmk123@gmail.com