The Unofficial TikTok API Wrapper In Python
#1122
V6.2.1 by @davidteather in https://github.com/davidteather/TikTok-Api/pull/1113
Fix count parameter for hashtag, user, and trending classes (https://github.com/davidteather/TikTok-Api/pull/1108)
Fix trending count (https://github.com/davidteather/TikTok-Api/pull/1103)
Made author field optional (https://github.com/davidteather/TikTok-Api/pull/1099)
Fixed issue where error is raised for some videos that are missing the "author" field
Full Changelog: https://github.com/davidteather/TikTok-Api/compare/V6.2.0...V6.2.1
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
Can use suppress_resource_load_types=["image", "media"]
in api.create_sessions()
to stop playwright from loading the given media types
Full Changelog: https://github.com/davidteather/TikTok-Api/compare/V6.1.0...V6.1.1
Upgrade with
pip install TikTokApi --upgrade
Upgrade with
pip install TikTokApi --upgrade
Fixed an error with pip install
Should be fixed now
pip install TikTokApi --upgrade
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 ðŸ¤
#916