Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 4 commits into from
Aug 8, 2023

Conversation

davidteather
Copy link
Owner

@davidteather davidteather commented Aug 8, 2023

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

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 🤠

@davidteather davidteather merged commit 34c309d into master Aug 8, 2023
2 checks passed
@davidteather davidteather deleted the v6.0.0 branch August 8, 2023 05:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant