![Main Workflow](https://github.com/Fluxticks/TikTokDL/actions/workflows/main.yml/badge.svg) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/tiktok-dlpy)
# TikTokDL
A python package to download TikTok videos or slideshows by URL without needing to login.
## TODO:
- Find a more exact value for `tiktok_magic.MAXIMUM_REQUEST_BODY` (Currently ~8MB)
## Usage
1. Install the package
```bash
$ pip install tiktok-dlpy
```
2. Ensure that playwright has been installed
```bash
$ python -m playwright install --with-deps
```
2. Import the package
```python
from tiktokdl.download_post import get_post
```
3. Run the function in an async context
```python
video_or_slide_url = ""
await get_post(video_or_slide_url)
```
Raw data
{
"_id": null,
"home_page": "https://github.com/Fluxticks/TikTokDL",
"name": "tiktok-dlpy",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "tiktok, playwright, async",
"author": "Fluxticks",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/bb/a1/9721c25dcc272c6d9f02d8dcc1ce90010810010dc8575647af26f4d61fbe/tiktok-dlpy-2.1.0.tar.gz",
"platform": null,
"description": "![Main Workflow](https://github.com/Fluxticks/TikTokDL/actions/workflows/main.yml/badge.svg) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/tiktok-dlpy)\n\n# TikTokDL\n\nA python package to download TikTok videos or slideshows by URL without needing to login.\n\n## TODO:\n\n- Find a more exact value for `tiktok_magic.MAXIMUM_REQUEST_BODY` (Currently ~8MB)\n\n## Usage\n\n1. Install the package\n\n```bash\n$ pip install tiktok-dlpy\n```\n\n2. Ensure that playwright has been installed\n\n```bash\n$ python -m playwright install --with-deps\n```\n\n2. Import the package\n\n```python\nfrom tiktokdl.download_post import get_post\n```\n\n3. Run the function in an async context\n\n```python\nvideo_or_slide_url = \"\"\nawait get_post(video_or_slide_url)\n```\n",
"bugtrack_url": null,
"license": null,
"summary": "A package to download TikTok videos or slideshows by URL without needing to login",
"version": "2.1.0",
"project_urls": {
"Download": "https://github.com/Fluxticks/TikTokDL/archive/v2.1.0.tar.gz",
"Homepage": "https://github.com/Fluxticks/TikTokDL"
},
"split_keywords": [
"tiktok",
" playwright",
" async"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "bba19721c25dcc272c6d9f02d8dcc1ce90010810010dc8575647af26f4d61fbe",
"md5": "e19356a65112a162d902d4d60af5f8e1",
"sha256": "203a8a8872dd80df42ff560f32a1f57244b6354c24163466e01d5b8bfe589aaf"
},
"downloads": -1,
"filename": "tiktok-dlpy-2.1.0.tar.gz",
"has_sig": false,
"md5_digest": "e19356a65112a162d902d4d60af5f8e1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 23786,
"upload_time": "2024-04-16T11:14:56",
"upload_time_iso_8601": "2024-04-16T11:14:56.498344Z",
"url": "https://files.pythonhosted.org/packages/bb/a1/9721c25dcc272c6d9f02d8dcc1ce90010810010dc8575647af26f4d61fbe/tiktok-dlpy-2.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-16 11:14:56",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Fluxticks",
"github_project": "TikTokDL",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "playwright",
"specs": []
},
{
"name": "numpy",
"specs": []
},
{
"name": "opencv-python",
"specs": []
},
{
"name": "requests",
"specs": []
}
],
"lcname": "tiktok-dlpy"
}