Skip to content

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

Latest
Compare
Choose a tag to compare
@davidteather davidteather released this 21 Jan 04:54
e6310be

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.