TkSel


NameTkSel JSON
Version 1.0.3 PyPI version JSON
download
home_pageNone
SummaryScrapper for Minet csvs on tiktok
upload_time2024-06-14 08:31:32
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/14/6f/a8d2340d5b28613a986ee4ce4a6e880c6e2a769f05eae1674bc80d878e3d/tksel-1.0.3.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.3",
    "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": null,
            "digests": {
                "blake2b_256": "1b4fd2a419e7abaca3efc109c6a3269bcf32662ba708a7c8df131671fcf45ab5",
                "md5": "2577dcd9014e0a60f5b965038069e48a",
                "sha256": "848fb687ac7247bf5ad25dfceddb5682fbaf371aef7090f4ff1937d9e945c7fa"
            },
            "downloads": -1,
            "filename": "tksel-1.0.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2577dcd9014e0a60f5b965038069e48a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 2322263,
            "upload_time": "2024-06-14T08:31:35",
            "upload_time_iso_8601": "2024-06-14T08:31:35.334349Z",
            "url": "https://files.pythonhosted.org/packages/1b/4f/d2a419e7abaca3efc109c6a3269bcf32662ba708a7c8df131671fcf45ab5/tksel-1.0.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "146fa8d2340d5b28613a986ee4ce4a6e880c6e2a769f05eae1674bc80d878e3d",
                "md5": "827ccb589f429d786691c8040b6f505d",
                "sha256": "2e6430b9f1c28a8877dfcbfe58beeeef0f0633d71f96ffc9a00305a9180665e3"
            },
            "downloads": -1,
            "filename": "tksel-1.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "827ccb589f429d786691c8040b6f505d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 2323204,
            "upload_time": "2024-06-14T08:31:32",
            "upload_time_iso_8601": "2024-06-14T08:31:32.955021Z",
            "url": "https://files.pythonhosted.org/packages/14/6f/a8d2340d5b28613a986ee4ce4a6e880c6e2a769f05eae1674bc80d878e3d/tksel-1.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-14 08:31:32",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Marceau-h",
    "github_project": "tksel#readme",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "tksel"
}
        
Elapsed time: 0.26191s