Scrapper for Minet csvs on tiktok


Keywords
TikTok, minet, tksel, video
Licenses
AGPL-3.0/GPL-3.0+
Install
pip install TkSel==1.0.5

Documentation

tksel

PyPI - Version PyPI - Python Version


Table of Contents

Installation

pip install tksel

License

tksel is distributed under the terms of the AGPLv3 license.

Description

tksel is a Python package that provides tool to recover videos from TikTok. It is intended to be used on the csvs generated by Minet but will work on any csv with the right columns:

  • video_id, the id of the video (alias id)
  • author_id, the id of the author (alias author_unique_id)

Usage

tksel input.csv output_folder [--no-headless] [--no-verify] [--no-skip]
  • input.csv is the csv generated by minet or any csv with the right columns

  • output_folder is the folder where the videos will be downloaded, it will be created if it doesn't exist, the input csv will also be copied there

  • --no-headless is an optional argument to display the browser while it is downloading the videos

  • --no-verify is an optional argument to disable the verification of the requests.get()

  • --no-skip is an optional argument to disable the skipping of the videos that are already downloaded

  • --sleep-min is an optional argument to set the minimum sleep time between requests (randomized between --sleep-min and --sleep-max)

  • --sleep-max is an optional argument to set the maximum sleep time between requests (randomized between --sleep-min and --sleep-max)

  • --help is an optional argument to display the help message

  • --version is an optional argument to display the version of the package

Example

tksel to_collect.csv /path/to/saving/dir --no-headless --no-verify --no-skip --sleep-min 60 --sleep-max 120