Skip to content

Releases: iYasha/aiorezka

v1.2.0

30 Dec 13:12
Compare
Choose a tag to compare

Changelog

  • Added cache for page detail requests. It's disabled by default. To enable:
pip install aiorezka[request_cache]
import aiorezka

aiorezka.use_cache = True

or use environment variable REZKA_USE_CACHE

  • Made the library more stable. Tested by parsing all information from rezka.ag
  • Refactored code.
  • Added logger.

Full Changelog: v1.1.0...v1.2.0

v1.1.0

24 Dec 18:01
Compare
Choose a tag to compare

Changelog

  • Added movie attribute parsing.
  • Added measure_rps to measure library performance and debug purposes.
import asyncio

from aiorezka.api import RezkaAPI
from aiorezka.cli import measure_rps


@measure_rps
async def main():
    async with RezkaAPI() as api:
        movies = await api.movie.iter_pages(range(1, 10), chain=True)
        detailed_movies = await api.movie_detail.many(movies)
        for movie in detailed_movies:
            print(movie.model_dump_json(indent=4))

if __name__ == '__main__':
    asyncio.run(main())
  • Refactored code a bit.

v1.0.0

23 Dec 22:22
Compare
Choose a tag to compare

Release base features of library.

v0.1.0

23 Dec 15:08
Compare
Choose a tag to compare
feat: Initial commit