Class: Html2rss::RequestService::BotasaurusStrategy
- Defined in:
- lib/html2rss/request_service/botasaurus_strategy.rb
Overview
Strategy to delegate fetching to a Botasaurus scrape API.
Constant Summary collapse
- TRANSPORT_ACCEPT =
Content-Type negotiation for the scrape API transport hop.
'application/json'- TRANSPORT_ENCODING =
Disable compressed bodies so Faraday returns raw JSON without implicit decoding surprises.
'identity'- REQUEST_ID_HEADER =
Correlates each POST /scrape with botasaurus-scrape-api request logs.
'X-Request-Id'
Method Summary
Methods inherited from Strategy
Constructor Details
This class inherits a constructor from Html2rss::RequestService::Strategy