Skip to content

V7.1.0: fixes (broken stealth config, async generator typing, cleanup when no sessions, dealing with async delay properly), chores (exposed TiktokPlaywrightSession, cleanup create_session)

Latest
Compare
Choose a tag to compare
@davidteather davidteather released this 13 Apr 19:05
62a8cfa

See this PR

Changelog

  • fix: broken stealth config for newer playwright versions
  • fix: async generator typing
  • fix: cleanup error when no sessions created
  • chore: expose TiktokPlaywrightSession for typing
  • chore: better cleanup on create_session
  • fix: deal with async delay properly in create_session

With headless=False locally

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