v2.2.18
spider-rs/spiderv2.2.18Aug 29, 2024by j-mendez
AI Summary
Enabled automatic locale detection with proper HTML encoding support.
Key Highlights
- Auto-detect locales without performance loss
- Proper HTML encoding instead of UTF-8 default
- Updated chromiumoxide to 0.7.0
New Features
- Auto-locale detection
- HTML encoding support
Full Release Notes
# Whats Changed
We can now auto detect locales without losing out on performance. We default enabled the `encoding` flag for this change!
* get_html now properly encodes the HTML instead of UTF8 default encoding
* bump chromiumoxide@0.7.0
* fix chrome hang on ws connections handler
* fix fetch stream infinite loop on error
* fix chrome frame setting url ( this temp prevents hybrid caching from having the req/res for the page )
```rust
let mut website: Website = Website::new("https://tenki.jp");
// all of the content output has the proper encoding automatically
```
**Full Changelog**: https://github.com/spider-rs/spider/compare/v2.1.9...v2.2.18