hulihanapplications / fletcher

A cross-website product information fetcher for ruby.
http://www.hulihanapplications.com
MIT License
53 stars 12 forks source link

Support for https #15

Open oyeanuj opened 8 years ago

oyeanuj commented 8 years ago

Hi @dhulihan! Thanks for writing this gem. I am trying to use it on Etsy and running into the following problem with https:

product  = Fletcher.fetch "https://www.etsy.com/listing/182765492/cereal-killer-spoonhand-stampedunique"
OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed

MetaInspector gem has a solution for similar problem where it allows you to pass Faraday configuration disabling SSL verification.

Is it possible to add something similar here now that a lot of ecommerce sites are on https?