TkSel


NameTkSel JSON
Version 1.0.11 PyPI version JSON
download
home_pageNone
SummaryScrapper for Minet csvs on tiktok
upload_time2024-07-12 14:51:12
maintainerNone
docs_urlNone
authorNone
requires_python>=3.7
licenseNone
keywords tiktok minet tksel video
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # tksel 

[![PyPI - Version](https://img.shields.io/pypi/v/tksel.svg)](https://pypi.org/project/tksel)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/tksel.svg)](https://pypi.org/project/tksel)

-----

**Table of Contents**

- [Installation](#installation)
- [License](#license)
- [Description](#description)
- [Usage](#usage)
  - [Example](#example)

## Installation

```console
pip install tksel
```

## License

`tksel` is distributed under the terms of the [AGPLv3 license](https://www.gnu.org/licenses/agpl-3.0.en.html).

## 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](https://github.com/medialab/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

```bash
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

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



            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "TkSel",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "Marceau-h <pypi@marceau-h.fr>",
    "keywords": "TikTok, minet, tksel, video",
    "author": null,
    "author_email": "Marceau-h <pypi@marceau-h.fr>",
    "download_url": "https://files.pythonhosted.org/packages/0b/c7/cfef0b16a64d8b221ce290a158a28c42d670b17b6f79216e841ca01fd7ba/tksel-1.0.11.tar.gz",
    "platform": null,
    "description": "# tksel \n\n[![PyPI - Version](https://img.shields.io/pypi/v/tksel.svg)](https://pypi.org/project/tksel)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/tksel.svg)](https://pypi.org/project/tksel)\n\n-----\n\n**Table of Contents**\n\n- [Installation](#installation)\n- [License](#license)\n- [Description](#description)\n- [Usage](#usage)\n  - [Example](#example)\n\n## Installation\n\n```console\npip install tksel\n```\n\n## License\n\n`tksel` is distributed under the terms of the [AGPLv3 license](https://www.gnu.org/licenses/agpl-3.0.en.html).\n\n## Description\n\n`tksel` is a Python package that provides tool to recover videos from TikTok.\nIt is intended to be used on the csvs generated by [Minet](https://github.com/medialab/minet) but will work on any csv with the right columns:\n- `video_id`, the id of the video (alias `id`)\n- `author_id`, the id of the author (alias `author_unique_id`)\n\n## Usage\n\n```bash\ntksel input.csv output_folder [--no-headless] [--no-verify] [--no-skip]\n```\n\n- `input.csv` is the csv generated by minet or any csv with the right columns\n- `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\n\n- `--no-headless` is an optional argument to display the browser while it is downloading the videos\n- `--no-verify` is an optional argument to disable the verification of the requests.get()\n- `--no-skip` is an optional argument to disable the skipping of the videos that are already downloaded\n- `--sleep-min` is an optional argument to set the minimum sleep time between requests (randomized between `--sleep-min` and `--sleep-max`)\n- `--sleep-max` is an optional argument to set the maximum sleep time between requests (randomized between `--sleep-min` and `--sleep-max`)\n\n- `--help` is an optional argument to display the help message\n- `--version` is an optional argument to display the version of the package\n\n### Example\n\n```bash\ntksel to_collect.csv /path/to/saving/dir --no-headless --no-verify --no-skip --sleep-min 60 --sleep-max 120 \n```\n\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Scrapper for Minet csvs on tiktok",
    "version": "1.0.11",
    "project_urls": {
        "Documentation": "https://github.com/Marceau-h/TkSel#readme",
        "Issues": "https://github.com/Marceau-h/TkSel/issues",
        "Source": "https://github.com/Marceau-h/TkSel"
    },
    "split_keywords": [
        "tiktok",
        " minet",
        " tksel",
        " video"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1b0329ce356381ba1f283afd0c5267f4d8a8740553b6daf9ab013fe0792d6236",
                "md5": "64d3941108cd5937ed82c72b46556fc5",
                "sha256": "2c5f3c3739d276238c9c9959a8ac6d89ca273886fa9e1c63f120584f04bc9fe1"
            },
            "downloads": -1,
            "filename": "tksel-1.0.11-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "64d3941108cd5937ed82c72b46556fc5",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 2323085,
            "upload_time": "2024-07-12T14:51:10",
            "upload_time_iso_8601": "2024-07-12T14:51:10.850125Z",
            "url": "https://files.pythonhosted.org/packages/1b/03/29ce356381ba1f283afd0c5267f4d8a8740553b6daf9ab013fe0792d6236/tksel-1.0.11-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0bc7cfef0b16a64d8b221ce290a158a28c42d670b17b6f79216e841ca01fd7ba",
                "md5": "c6b296dc73edaf6fe4cbb35149b4d60a",
                "sha256": "76a423b3e2b14f5b160e5a951a8e87805dd1bc51c4128d2f26c8bbcc01fe22b3"
            },
            "downloads": -1,
            "filename": "tksel-1.0.11.tar.gz",
            "has_sig": false,
            "md5_digest": "c6b296dc73edaf6fe4cbb35149b4d60a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 2325170,
            "upload_time": "2024-07-12T14:51:12",
            "upload_time_iso_8601": "2024-07-12T14:51:12.634856Z",
            "url": "https://files.pythonhosted.org/packages/0b/c7/cfef0b16a64d8b221ce290a158a28c42d670b17b6f79216e841ca01fd7ba/tksel-1.0.11.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-12 14:51:12",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Marceau-h",
    "github_project": "TkSel#readme",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "tksel"
}
        
Elapsed time: 0.34603s