Changed
- BREAKING (default features): default feature set is now
["native-tls", "brotli", "http2"](was["rustls", "brotli"]).
Cloudflare's bot-fight rules now reject therustlsClientHello
fingerprint on forexfactory.com, so the library no longer works out of
the box onrustls. Native TLS + HTTP/2 + Firefox-shaped headers gets
past the challenge. - Request headers rewritten to impersonate Firefox 150 (drops Chrome
Sec-Ch-Ua*client hints, addsPriority). The previous Chrome
client-hint headers were cross-checked against the TLS fingerprint by
Cloudflare and rejected.
Migration
- If you build with
--no-default-features, you now need at least
native-tls,brotli, andhttp2to talk to forexfactory.com. rustlsand friends are still available as opt-in features but will
currently 403 against forexfactory.com.
Full Changelog: v0.1.0...v0.2.0