Skip to content

Releases: davidteather/TikTok-Api

V7.0.0 - feat: New playlist class, fixes bot detection, update docstring

21 Jan 04:54
e6310be
Compare
Choose a tag to compare

Happy TikTok will it or will it not get banned everyone I'm back for the experience 🎉 🥳 🎉

Breaking Change

  • user().info -> Iterator[dict] now user().info -> Iterator[Playlist]
  • New Playlist class! 🎉 #1207 thanks @LukasOpp

Fixes

  • When loading a TikTok page it was being detected as a bot, this hopefully should be detected less due to: #1196, #1197 (@arhen),and my own fixes
  • Fixes opts not defined error in navigator_userAgent.py

Chores

A merged pytest result of of the CI and locally on webkit with mstoken without proxy, not too shabby

tests/test_comments.py .                                                                                  [  4%]
tests/test_hashtag.py ....                                                                                [ 23%]
tests/test_integration.py F                                                                               [ 28%]
tests/test_playlist.py F.                                                                                 [ 38%]
tests/test_search.py .s                                                                                   [ 47%]
tests/test_sound.py F.                                                                                    [ 57%]
tests/test_trending.py F                                                                                  [ 61%]
tests/test_user.py .F..                                                                                   [ 80%]
tests/test_video.py ..s.                                                                                  

V6.5.2 - Remove a Print Statement

24 Aug 18:13
Compare
Choose a tag to compare
remove a print stmt

V6.5.1 - Add Webkit Browser Default

24 Aug 18:11
Compare
Choose a tag to compare

V6.5.0 - Add Byte Streaming Support

24 Aug 17:36
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: V6.4.0...V6.5.0

V6.4.0 - Add Video Download Support, Add Playlists, misc fixes

V6.3.0 - Fixes And Additional URL Params

12 Apr 17:23
7101654
Compare
Choose a tag to compare
  • 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 - New Safe Character Encoding

11 Mar 17:57
Compare
Choose a tag to compare

V6.2.1 - Small Count Bug Fixes

09 Feb 15:45
1c6aed1
Compare
Choose a tag to compare

What's Changed

  • V6.2.1 by @davidteather in #1113

  • Fix count parameter for hashtag, user, and trending classes (#1108)

  • Fix trending count (#1103)

  • Made author field optional (#1099)

  • Fixed issue where error is raised for some videos that are missing the "author" field

Full Changelog: V6.2.0...V6.2.1

V6.2.0 - Various Bug Fixes

28 Nov 01:49
4f2c13f
Compare
Choose a tag to compare

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: V6.1.1...V6.2.0

V6.1.1 - Add Option To Suppress Playwright From Loading Different Resource Types

20 Aug 23:57
31587d7
Compare
Choose a tag to compare

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: V6.1.0...V6.1.1

Upgrade with

pip install TikTokApi --upgrade