A python package to download TikTok videos or slideshows by URL without needing to login.
- Find a more exact value for
tiktok_magic.MAXIMUM_REQUEST_BODY
(Currently ~8MB)
- Install the package
$ pip install tiktok-dlpy
- Ensure that playwright has been installed
$ python -m playwright install --with-deps
- Import the package
from tiktokdl.download_post import get_post
- Run the function in an async context
video_or_slide_url = ""
await get_post(video_or_slide_url)