v2.35.18
spider-rs/spiderv2.35.18Mar 26, 2025by j-mendez
AI Summary
Adds support for the `rquest` client library with a feature flag, including emulation capabilities. Improves Chrome request timeout handling.
Key Highlights
- Rquest client support with feature flag
- New emulation feature for request handling
- Bug fixes for Chrome request timeout
New Features
- Rquest client support
- Request emulation method
- Timeout handling improvements
Full Release Notes
# Whats Changed
* The [rquest](https://github.com/0x676e67/rquest) client support with the `rquest` feature flag.
* New `website.with_emulation` for `rquest` emulation.
* Bug fixes and improvements with chrome request timeout handling.
```rust
/// Set the request emuluation. This method does nothing if the `rquest` flag is not enabled.
pub fn with_emulation(&mut self, emulation: Option<rquest_util::Emulation>) -> &mut Self {
self.configuration.with_emulation(emulation);
self
}
```
**Full Changelog**: https://github.com/spider-rs/spider/compare/v2.34.5...v2.35.18