github davidteather/TikTok-Api V3.8.9
V3.8.9 - Fix No Watermark Method

latest releases: V6.3.0, V6.2.2, V6.2.1...
3 years ago

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)

Don't miss a new TikTok-Api release

NewReleases is sending notifications on new releases.