Skip to content

V6.0.0 - Async, Improve Maintainability, Give More User Options, Better Docs

Compare
Choose a tag to compare
@davidteather davidteather released this 08 Aug 06:34
· 25 commits to main since this release

Changes

  • TikTokAPI now manages a fleet of playwright sessions to sign & make requests
    • should be easier to circumvent bot navigation if requests are make by headful browser
  • Fully async, will require code changes check examples/tests/readme if you need help
  • Better docs (please make PRs if you notice any issues)

Deprecated

  • Drop support for Python 3.7 & 3.8
    • 3.7 - playwright supports 3.8+
    • 3.8 - Our type hints require 3.9+
      Update with
pip install --upgrade TikTokApi

Tests

tests/test_comments.py .                                                                                 [  5%]
tests/test_hashtag.py ....                                                                               [ 29%]
tests/test_integration.py .                                                                              [ 35%]
tests/test_search.py .                                                                                   [ 41%]
tests/test_sound.py ..                                                                                   [ 52%]
tests/test_trending.py .                                                                                 [ 58%]
tests/test_user.py ..s                                                                                   [ 76%]
tests/test_video.py ..s.                                                                                 [100%]

=================================== 15 passed, 2 skipped in 68.64s (0:01:08) ===================================

Fully pass for all implemented methods 😎 feels good to be back

We're close to 1 million downloads, that's absurd glad you've all enjoyed the project 🤠