SSL

SSL feature is very straightforward - it collects information about the SSL certificate of the scraped page. It can be a useful tool for monitoring certificate changes, expiration dates and validity.

Note that enabling SSL may slow down scraping speed.

SSL details can also be found in the monitoring dashboard logs under the SSL tab:

sll details on the monitoring logs page

Usage

To use SSL feature the SSL parameter can be enabled on any Scrapfly scrape request. This will include SSL details in the result.ssl field:

require "uri"
require "net/http"

url = URI("https://api.scrapfly.io/scrape?ssl=true&key=__API_KEY__&url=https%3A%2F%2Fweb-scraping.dev%2F")

https = Net::HTTP.new(url.host, url.port);
https.use_ssl = true

request = Net::HTTP::Get.new(url)

response = https.request(request)
puts response.read_body
https://api.scrapfly.io/scrape?ssl=true&key=&url=https%253A%252F%252Fweb-scraping.dev%252F

Example Of Response

Pricing

No additional fee is applied on usage.

Summary