Skip to main content

Scrapper for Minet csvs on tiktok

Project description

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 

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

tksel-1.1.3.tar.gz (2.3 MB view details)

Uploaded Source

Built Distribution

tksel-1.1.3-py3-none-any.whl (2.3 MB view details)

Uploaded Python 3

File details

Details for the file tksel-1.1.3.tar.gz.

File metadata

  • Download URL: tksel-1.1.3.tar.gz
  • Upload date:
  • Size: 2.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for tksel-1.1.3.tar.gz
Algorithm Hash digest
SHA256 1c4f87080b3f31ad91d13da867b9db89cc14cbee64c18b7d7f341722eec6ac8d
MD5 54f42c457a8c355d0a32dc8ee96fe480
BLAKE2b-256 0b4fb4b5b77f65e5b5a7a0b3a3c00d54f6fe8d4c56322359926bd8075600fd33

See more details on using hashes here.

Provenance

The following attestation bundles were made for tksel-1.1.3.tar.gz:

Publisher: hatch-build-and-publish.yml on Marceau-h/TkSel

Attestations:

File details

Details for the file tksel-1.1.3-py3-none-any.whl.

File metadata

  • Download URL: tksel-1.1.3-py3-none-any.whl
  • Upload date:
  • Size: 2.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for tksel-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3f15ec39baad0ae9934d8ecfa1fde23b9f32e02ef04817a2ad76b7c661e6ca61
MD5 ae692f44e50dce1c24c1248977452f82
BLAKE2b-256 922914c2f676c7467af4a2702cde86aed40418ac2494fca6e72f12545c1b0e80

See more details on using hashes here.

Provenance

The following attestation bundles were made for tksel-1.1.3-py3-none-any.whl:

Publisher: hatch-build-and-publish.yml on Marceau-h/TkSel

Attestations:

Supported by

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