Skip to content

v3.3.1

Choose a tag to compare

@ndenissov ndenissov released this 04 Apr 07:18
· 44 commits to main since this release
  • Removed the follow_redirect=True argument from api.http.DEFAULT_CLIENT;
    instead of following redirects automatically, the URL is now extracted from the Location header where necessary.
  • post.url.kind.subtitle.SubtitleURLs

    • Fixed a bug in __init__ that caused incorrect handling when no subtitles were available.
    • Added the method get(self, item: str) -> SubtitleURL | None.
    • The __getitem__(self, item: str) method now raises a KeyError if item is not a valid code or name
      (mirroring dictionary behavior). Use get to safely return None.
  • Minor documentation improvements.

Full Changelog: v3.2.3...v3.3.1