Skip to content

v3.3.0

Choose a tag to compare

@ndenissov ndenissov released this 03 Apr 17:07
· 48 commits to main since this release
  • api.http

    • Added the login_global(name: str, password: str) function.
  • url

    • Added Request.REDIRECT_URL, required for api.http.login_global.
    • Updated Request.HOST.
  • post.info.PostInfo

    • Added the duration_s attribute – duration in seconds.
    • Added the updated_time attribute – last modification date (int).
    • Fixed retrieval of the poster.full link.
    • Added the 'hdrezka' key to the rating dictionary, containing the rating directly from the site.
    • The keys in the rating dictionary are now guaranteed to be in lowercase (e.g., imdb instead of IMDb).
  • post.fields

    • Added the Rating.url field – a link to the rating page (IMDB, KP, WA, etc.).
  • post.urls.kind

    • Simplified parsing of video and subtitle links, now without regex.
  • post.urls.kind.video

    • Each video link (m3u8) in VideoURLs is now represented as a tuple with available sources,
      in case one of them is unavailable.
  • Replaced all dataclasses with NamedTuple.
  • Minor documentation improvements.
  • Minor optimizations and enhancements.

Full Changelog: v3.2.3...v3.3.0