Skip to content

v0.2.0

Compare
Choose a tag to compare
@hf-kklein hf-kklein released this 19 Feb 21:34
· 116 commits to main since this release
47ff72b

What's Changed

v0.2.0 switches to an async download logic based on aiohttp.
This makes mirroring edi-energy.de significantly faster (~4x in manual tests) but also increases the risk of getting blocked when sending to many requests at a time.
In case the server suddenly terminates your connection, try lowering the connection_limit to e.g. 1 which will be very similar to the non-async code in v0.1.x (performance-wise).

Using the aiohttp-requests library comes with the price of temporarily dropped support for Python 3.11 (issue #40).
Also, using async together with BeautifulSoup was not possible in Python 3.7.

Full Changelog: v0.1.1...v0.2.0