Skip to main content

A simple TikTok video downloader.

Project description

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.


Project details


Download files

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

Source Distribution

tiktokcrawler-0.1.5.tar.gz (20.2 kB view details)

Uploaded Source

Built Distribution

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

tiktokcrawler-0.1.5-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

File details

Details for the file tiktokcrawler-0.1.5.tar.gz.

File metadata

  • Download URL: tiktokcrawler-0.1.5.tar.gz
  • Upload date:
  • Size: 20.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for tiktokcrawler-0.1.5.tar.gz
Algorithm Hash digest
SHA256 50e3d37ca18ed817685a0a0c7681061ff9d7f0ab52bd093af9d285e91c1482e3
MD5 a00b9183b475ba5b2d228d6902b8c7c5
BLAKE2b-256 8432395f97214baf8a0dc65218569a741c1ba81d1a523c7a638a330deef56dab

See more details on using hashes here.

File details

Details for the file tiktokcrawler-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: tiktokcrawler-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 19.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for tiktokcrawler-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 33cfd4b7af51ff1152eecab40b7e359341e6be5546488b80f45bd8e759766c2b
MD5 9b1794c06478407bca9d5e1571f3c3d5
BLAKE2b-256 3050728693636d527de7445f5eae9beac58da59136d1c39c3f33eb7f031b332b

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