Tiktokapi

Latest version: v6.3.0

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

Scan your dependencies

Page 6 of 20

3.9.2

Changes
* TikTok updated their endpoints and some JSON that it returned
* Some maxCursor and minCursor have been deprecated due to it being changed on TikTok's end, so you may need to change these to restore functionality

If you're reading this you really should [connect with me on LinkedIn](https://www.linkedin.com/in/davidteather/) I'm just a student who needs more connections. Also feel free to [sponsor me](https://github.com/sponsors/davidteather)

3.9.1

If you're reading this you really should [connect with me on LinkedIn](https://www.linkedin.com/in/davidteather/) I'm just a student who needs more connections.

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)

Page 6 of 20

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.