Tiktokapi

Latest version: v6.5.2

Safety actively analyzes 682387 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 20

3.9.0

See 464

Also the tests aren't passing but they should as they passed on the PR TikTok is just hitting them with captchas :(

3.8.9

The main update is the fix of the no watermark method.

The naming scheme for that method has changed it is now `get_video_no_watermark(self, video_url, return_bytes=1, **kwargs)`

The other change is the introduction of `get_tiktok_by_html(self, url, **kwargs)` this was added a helper method of get_video_no_watermark but it extracts the information from the HTML of a TikTok rather than API calls

To download a video here's example code

from TikTokApi import TikTokApi

api = TikTokApi.get_instance(use_test_endpoints=True)

data = api.get_video_no_watermark('https://www.tiktok.com/gordonramsayofficial/video/6910298199769009414?lang=en')

with open("test.mp4", "wb") as out:
out.write(data)

3.8.8

TikTok changed their structure of their API requests leading to a key error that should be fixed now.

And [TikTok's Desktop Site](https://www.tiktok.com/) is back! 🎊 kinda annoying while it was down

3.8.7

* Fixed Hardcoded m.tiktok.com
* Fix latin-1 encoding
[![Sponsor Me](https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub)](https://github.com/sponsors/davidteather)

3.8.6

TikTok seems to be blocking previous headers they've been updated to be more consistent with TikTok's site [![Sponsor Me](https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub)](https://github.com/sponsors/davidteather)

3.8.5

[![Sponsor Me](https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub)](https://github.com/sponsors/davidteather)

Page 7 of 20

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.