TikTok Api Versions Save

The Unofficial TikTok API Wrapper In Python

V6.3.0

1 month ago
  • Add 'executable_path' field to the 'api.create_sessions()' method (#1136)
  • Fixed retries loop (#1133)
  • Add option to select which browser playwright uses (#1129)
  • add browser selection option to create_sessions method
  • fix spelling typo

V6.2.2

2 months ago

#1122

V6.2.1

3 months ago

What's Changed

Full Changelog: https://github.com/davidteather/TikTok-Api/compare/V6.2.0...V6.2.1

V6.2.0

5 months ago

What's Changed

Also, TikTok seems to be detecting the IPs of the GitHub actions 💀 (or ms_tokens are now tied to a specific ip)

================================================== test session starts ==================================================
platform darwin -- Python 3.11.2, pytest-7.4.0, pluggy-1.2.0
rootdir: /Users/davidteather/Documents/GitHub/TikTok-Api
plugins: asyncio-0.21.1
asyncio: mode=Mode.STRICT
collected 18 items                                                                                                      

tests/test_comments.py .                                                                                          [  5%]
tests/test_hashtag.py ....                                                                                        [ 27%]
tests/test_integration.py .                                                                                       [ 33%]
tests/test_search.py .s                                                                                           [ 44%]
tests/test_sound.py ..                                                                                            [ 55%]
tests/test_trending.py .                                                                                          [ 61%]
tests/test_user.py ...                                                                                            [ 77%]
tests/test_video.py ..s.                                                                                          [100%]

======================================= 16 passed, 2 skipped in 84.27s (0:01:24) ========================================

tests pass though 🫡

Full Changelog: https://github.com/davidteather/TikTok-Api/compare/V6.1.1...V6.2.0

V6.1.1

8 months ago

Can use suppress_resource_load_types=["image", "media"] in api.create_sessions() to stop playwright from loading the given media types

What's Changed

New Contributors

Full Changelog: https://github.com/davidteather/TikTok-Api/compare/V6.1.0...V6.1.1

Upgrade with

pip install TikTokApi --upgrade

V6.1.0

8 months ago

What's Changed

New Contributors

Upgrade with

pip install TikTokApi --upgrade

V6.0.1

9 months ago

Fixed an error with pip install

Should be fixed now

pip install TikTokApi --upgrade

V6.0.0

9 months ago

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 🤠

V5.2.2

1 year ago

#916

V5.2.1

1 year ago