v0.2.97
This is an essential update for everyone to fully enjoy Scrapling as it's intended
What's changed
Lower memory usage and small speed increase across all Fetchers.
- With new limitations across the library over caching size you will notice significantly lower memory usage than before while doing large numbers of requests/operations.
- Refactored big parts of the fetchers to easier maintainability and small speed increase.
Bugs fixed
- Fixed a bug in
TextHandler
where importing it alone and passing a non-string value converts it to an empty string. Now anything passed toTextHandler
is automatically converted to a string before being converted toTextHandler
, this is forced on any value passed --TextHandler
as the name implies is intended to work with strings only after all! (#45 ) - Fixed a bug where the
retries
arguments weren't taken into account in most AsyncFetcher methods.
Miscellaneous
- Update type hints for most arguments in all fetchers to be clearer and more accurate.
Thanks for all your support and donations!