Skip to main content

TiktokCrawler - TikTok Video Downloader CLI

Preview Tiktok Crawler

main This is a command-line interface (CLI) tool for downloading TikTok videos and retrieving video information.

Features

  • Download individual TikTok videos.
  • Get detailed information about a TikTok video without downloading it.
  • Download all videos from a specific TikTok user.
  • Proxy support for all commands.

Installation

TiktokCrawler can be easily installed using pip or pipx. pipx is recommended for installing Python CLI applications as it installs them into isolated environments and makes them directly available in your shell.

  1. Prerequisites:

    • Python 3.x
    • ffmpeg (required by yt-dlp for video processing). Make sure ffmpeg is installed and accessible in your system's PATH.
  2. Install pipx (if you don't have it):

    pip install pipx
    pipx ensurepath
    

    Note: You might need to restart your terminal after running pipx ensurepath for the changes to take effect.

  3. Install TiktokCrawler:

    Recommended (using pipx):

    pipx install tiktokcrawler
    

    Alternative (using pip):

    pip install tiktokcrawler
    

    Note: If you install with pip, you might need to manually add Python's user scripts directory to your system's PATH environment variable if the tiktok-crawler command is not found.

Usage

Once installed, you can run tiktok-crawler directly from your terminal.

Access Command Line Interface

tiktok-crawler --help

Download a single video

To download a TikTok video, use the download command followed by the video URL:

tiktok-crawler download "https://www.tiktok.com/@alalten/video/7401851105526828295?lang=id-ID&q=kaori%20waguri&t=1751721831935"

Get video information

To get information about a video without downloading it, use the info command:

tiktok-crawler info "https://www.tiktok.com/@alalten/video/7401851105526828295?lang=id-ID&q=kaori%20waguri&t=1751721831935"

Download all videos from a user

To download all publicly available videos from a TikTok user, use the user-videos command:

tiktok-crawler user-videos "https://www.tiktok.com/@alalten/video/"

Using a Proxy

You can specify a proxy for any command using the --proxy or -p option:

tiktok-crawler download "https://www.tiktok.com/@alalten/video/1234567890" --proxy "http://user:pass@host:port"
tiktok-crawler info "https://www.tiktok.com/@alalten/video/1234567890" -p "socks5://127.0.0.1:9050"
tiktok-crawler user-videos "https://www.tiktok.com/@alalten" --proxy "http://your.proxy.com:8080"

Project Structure

TiktokCrawler/
├── LICENSE
├── README.md
├── pyproject.toml
├── src/
│   └── TiktokCrawler/
│       ├── __init__.py
│       ├── cli.py
│       └── downloader.py
└── downloads/
    ├── 7401851105526828295.mp4
    └── 7439977461644840208.mp4

License

This project is licensed under the MIT License.

Contact

Thank You for passing by!! If you have any questions or feedback, please reach out to us at contact@akariwill.id.
or you can DM me on Discord wildanjr_ or Instagram akariwill. (just contact me on one of these account)

Contributing

Feel free to contribute to this project by submitting pull requests or opening issues in the repository.


Release files for TiktokCrawler 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for TiktokCrawler 0.1.7
File Size Uploaded
tiktokcrawler-0.1.7.tar.gz 20.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for TiktokCrawler 0.1.7
File Interpreter ABI Platform
tiktokcrawler-0.1.7-py3-none-any.whl Python 3 none any Details

Total release size: 39.4 kB

Release files / tiktokcrawler-0.1.7.tar.gz

Download URL tiktokcrawler-0.1.7.tar.gz
Size 20.2 kB
Tags Source
SHA-256 checksum
How to use checksums
0ee1b7800bf3106a7db70b055748b93ee7a53ef569e2d6116c733212a7bd611f
BLAKE2b-256 checksum
How to use checksums
7e51149f064e09aa745eafada0aef5f6de7e61cf7a4eab3a660b8026f7c80400
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release files / tiktokcrawler-0.1.7-py3-none-any.whl

Download URL tiktokcrawler-0.1.7-py3-none-any.whl
Size 19.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5342e00891e8e55ecc793fb638dd8031584692ca338935257f09466f492b9c97
BLAKE2b-256 checksum
How to use checksums
008c41f894f5dee737bed03204cf3f24df71ef97245c01db347e744f08974870
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page