Tiktokapi

Latest version: v6.3.0

Safety actively analyzes 629765 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 20

6.0.1

Fixed an error with pip install

Should be fixed now

pip install TikTokApi --upgrade

6.0.0

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 🤠

5.2.2

916

5.2.1

5.2.0

Additions
* Comments are now available on Videos


TODO
User info route is exposed, although it uses msToken heavily and not sure how to work around that at the moment


Tests passing and tests still failing

tests/test_comments.py::test_comment_page PASSED
tests/test_comments.py::test_comment_paging PASSED
tests/test_hashtag.py::test_hashtag_videos PASSED
tests/test_hashtag.py::test_hashtag_info PASSED
tests/test_hashtag.py::test_non_latin1 PASSED
tests/test_integration.py::test_video_attributes PASSED
tests/test_sound.py::test_sound_videos PASSED
tests/test_sound.py::test_sound_info PASSED
tests/test_video.py::test_video_id_from_url PASSED
tests/test_video.py::test_video_info PASSED
tests/test_video.py::test_video_bytes PASSED

tests/test_search.py::test_video FAILED
tests/test_search.py::test_users FAILED
tests/test_trending.py::test_trending_videos FAILED
tests/test_user.py::test_user_info FAILED
tests/test_user.py::test_user_videos FAILED
tests/test_user.py::test_user_liked FAILED

5.1.1

Nothing in code base changed, need to re-generate the pypi readme.

Page 2 of 20

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.