Skip to content

Releases: davidteather/TikTok-Api

V3.9.6

13 May 23:59
9b920f1
Compare
Choose a tag to compare

Merged

See #586 for methods that currently aren't working

I've also joined the brave browser rewards so if you want to feel free to tip me if you use brave browser using your BAT

V3.9.5 - Some general fixes

01 Apr 21:22
14ac7b3
Compare
Choose a tag to compare

Things were fixed 😄

  • discover methods fixed
  • byUsername & other HTML requests fixed

V3.9.4 - Improved Downloading Video Handling

20 Mar 17:40
e1d6006
Compare
Choose a tag to compare

Changes

  • Updated documentation for custom_did
  • custom_did is maintained at the instance level if set
  • generate_static_did added as a parameter to the TikTok constructor. If set to True it will generate and maintain a static custom_did so you don't have to do it yourself.
  • Added generate_did method which returns a valid did which you can use however you want.

Sponsor me on GitHub
Connect with me on LinkedIn

V3.9.3 - The documentation and naming scheme update

15 Mar 01:12
90a7f3f
Compare
Choose a tag to compare

This package has spent too long having its documentation listed in the readme of all places. I'm excited to announce that I've added a new auto-documenting part to the codebase. Hopefully, that makes this package that much more easy to deal with

Naming Scheme

  • All the methods have moved from camelCase to snake_case as it's annoyed me for a bit
  • BUT don't worry it's backward compatible and I intend to keep it that way for at least awhile

The last time I did this it was super effective so please connect with me on LinkedIn if you're reading this. I'm just a 1st year in college and anything helps, plus I spent like 3.5 hours on this update on a Sunday night.

V3.9.2 - Update for TikTok Endpoint change

08 Mar 20:07
4474daa
Compare
Choose a tag to compare

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 I'm just a student who needs more connections. Also feel free to sponsor me

V3.9.1 - Update for playwright 1.9.0

25 Feb 21:06
dd510b7
Compare
Choose a tag to compare

If you're reading this you really should connect with me on LinkedIn I'm just a student who needs more connections.

V3.9.0 - Fix Playwright running in multitudes

15 Feb 00:57
cc85ff7
Compare
Choose a tag to compare

See #464

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

V3.8.9 - Fix No Watermark Method

28 Dec 03:09
084bd74
Compare
Choose a tag to compare

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)

V3.8.8 - Fix itemList Error

24 Dec 15:39
0d9fa3c
Compare
Choose a tag to compare

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

And TikTok's Desktop Site is back! 🎊 kinda annoying while it was down

V3.8.7 - Fix getUser & secUid & userPager

23 Dec 16:51
d15fa62
Compare
Choose a tag to compare
  • Fixed Hardcoded m.tiktok.com
  • Fix latin-1 encoding
    Sponsor Me