Skip to content

V5.1.0 - Memory Improvement, Jupyter Support, Hierarchical Exceptions

Compare
Choose a tag to compare
@davidteather davidteather released this 20 Mar 06:27
cf8d4ac

New Suggested Usage

with TikTokApi() as api:
    pass

Although old way of TikTokApi() works as well.

Exceptions

  • Now all derived from TikTokException
  • Some naming changes

Jupyter Support

Improved Models

  • Throws an error if a sound has been removed
  • Video has a create_time & stats attribute (should probably add stats field to other models)

Current Problems

  • Hashtag.videos
  • Trending.videos
  • User.videos
  • All seem to be related to new TikTok changes I made #861 to discuss

pytest output

tests\test_hashtag.py F..
tests\test_integration.py F
tests\test_search.py ..
tests\test_sound.py ..
tests\test_trending.py F
tests\test_user.py .F.
tests\test_video.py ...