A package to download TikTok videos or slideshows by URL without needing to login
Project description
TikTokDL
A python package to download TikTok videos or slideshows by URL without needing to login.
TODO
- Allow usage of other browsers (eg. Chromium)
- Requires a fix regarding response body protocol error (similar to this issue)
Usage
- Install the package
$ pip install tiktok-dlpy
- Ensure that playwright has been installed
$ python -m playwright install
$ python -m playwright install-deps
- Import the package
from tiktokdl.download_post import get_post
- Run the function in an async context
video_or_slide_url = ""
post_info = asyncio.run(
get_post(
video_or_slide_url
)
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tiktok-dlpy-1.5.2.tar.gz
(9.3 kB
view hashes)