Skip to main content

Python TikTok uploader that lets you upload Tiktoks or schedule TikToks automatically with trending/favorited sounds, hashtags and more.

Project description

tiktokautouploader

AUTOMATE TIKTOK UPLOADS. USE TRENDING/FAVORITED SOUNDS, ADD WORKING HASHTAGS, SCHEDULE UPLOADS, AUTOSOLVES CAPTCHAS, AND MORE

PyPI version

Features

  • Bypass/Auto Solve Captchas: Captchas won't slow you down, they get solved automatically.
  • Upload with TikTok Sounds: Add popular TikTok sounds to your videos. Search by name or pull straight from your favorites.
  • Schedule Uploads: Queue videos for a specific time, up to 10 days out.
  • Copyright Check: Run a copyright check before uploading so you're not caught off guard later.
  • Add Working Hashtags: Hashtags that are clickable and actually show up as hashtags instead of text.
  • Proxy Support: Route your uploads through a proxy server of your choice.
  • Multiple Accounts: Handle as many TikTok accounts as you need without losing track of any of them.
  • Telegram Integration: Hook the uploader up to a Telegram bot. Check /TelegramAutomation for setup details.
  • Phantomwright Stealth Engine: Bot detection evasion baked in at the browser level — fingerprint spoofing, human-like interactions, and hardened browser flags out of the box.

Bot Detection Evasion with Phantomwright

This library uses Phantomwright as its browser engine instead of plain Playwright. Phantomwright is a patched, drop-in Playwright replacement specifically designed to evade bot detection.


Installation

pip install tiktokautouploader

Already installed? Make sure you're on the latest version before running anything.


Pre-requisites

Node.js is required since parts of this package run JavaScript under the hood. Grab it from nodejs.org if you don't have it. The JS dependencies (playwright, playwright-extra, puppeteer-extra-plugin-stealth) install themselves the first time you run the function — just make sure npm is in your PATH.

Browser binaries also need to be installed once (run after installing library):

phantomwright_driver install chromium

Quick-Start

It's worth reading DOCUMENTATION.md before diving in. The first time you use the function for an account you'll be asked to log in — this only happens once per account.

NOTE: The first time you run the function, it may take a long while to run as JS libraries are built, this only occurs on first run

Upload with hashtags

from tiktokautouploader import upload_tiktok

upload_tiktok(
    video='path/to/your/video.mp4',
    description='Check out my latest TikTok video!',
    accountname='mytiktokaccount',
    hashtags=['#fun', '#viral']
)

Upload with a TikTok Sound

# Search for a sound by name (default behaviour)
upload_tiktok(video=video_path, description=description, accountname=accountname,
              sound_name='trending_sound', sound_aud_vol='mix')

# Pull a sound from your TikTok favorites instead
upload_tiktok(video=video_path, description=description, accountname=accountname,
              sound_name='saved_sound', sound_aud_vol='mix', search_mode='favorites')

sound_aud_vol controls the balance between your video's original audio and the TikTok sound: 'main', 'mix', or 'background'. Check the docs for details.

Schedule an Upload

upload_tiktok(video=video_path, description=description, accountname=accountname,
              schedule='03:10', day=11)

Copyright Check Before Uploading

upload_tiktok(video=video_path, description=description, accountname=accountname,
              hashtags=hashtags, copyrightcheck=True)

The upload will stop if your video fails the copyright check.

Run Headless with Stealth + Proxy

upload_tiktok(
    video=video_path,
    description=description,
    accountname=accountname,
    headless=True,       # no browser window
    stealth=True,        # additional human-like delays on top of baseline evasion
    suppressprint=True,  # no console output
    proxy={              # optional proxy config — see docs for format
        'server': 'http://yourproxy:port',
        'username': 'user',
        'password': 'pass'
    }
)

Full Parameter Reference

Parameter Type Description
video str Path to the video file
description str Caption for the video
accountname str Which account to upload on
hashtags list (opt) List of hashtags to include
sound_name str (opt) Name of the TikTok sound to use
sound_aud_vol str (opt) Audio balance: 'main', 'mix', or 'background'
schedule str (opt) Upload time in HH:MM (your local time)
day int (opt) Day to schedule the upload for
copyrightcheck bool (opt) Run a copyright check before uploading
suppressprint bool (opt) Silence all progress output from the function
headless bool (opt) Run without a visible browser window
stealth bool (opt) Add extra delays between operations on top of the always-on Phantomwright evasion
proxy dict (opt) Proxy server config — see docs for the expected format
search_mode str (opt) How to find the sound: 'search' (default) or 'favorites'

Dependencies

phantomwright, requests, Pillow, inference — all installed automatically with the package.


Project details


Release history Release notifications | RSS feed

This version

5.8

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tiktokautouploader-5.8.tar.gz (15.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tiktokautouploader-5.8-py2.py3-none-any.whl (16.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file tiktokautouploader-5.8.tar.gz.

File metadata

  • Download URL: tiktokautouploader-5.8.tar.gz
  • Upload date:
  • Size: 15.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for tiktokautouploader-5.8.tar.gz
Algorithm Hash digest
SHA256 cc0a3bac10d8736d2704eede81f592ac1b12a007d54bac5d201d23a9ba08a09a
MD5 175b2604876d8b2305c7966e3360ecc3
BLAKE2b-256 1883f8d3d3ffa00a735ce534ace27c03a013a72d31c868fa00dba66696d161b9

See more details on using hashes here.

File details

Details for the file tiktokautouploader-5.8-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for tiktokautouploader-5.8-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 55c537e65c20e942d44f28d80a1f9d44c5bf071c9ccbcaed53bf2316a19fae9d
MD5 6ec52f9f5a45e0dc45dc1b25b1892a9f
BLAKE2b-256 4d15ac64ee96de3a168d62e0f3d0072b04c821770c075983b6d5bc3da036457d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page