Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
$ irb
require 'mechanize'
agent = {|agent| agent.user_agent_alias = "Mac Safari"}
scraper = agent.get '' # works
scraper = agent.get '' # fails
> OpenSSL::SSL::SSLError: SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read server hello A
scraper = agent.get '' # fails
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.