Skip to content

Commit

Permalink
Avoid initialization error
Browse files Browse the repository at this point in the history
  • Loading branch information
Snehan Kekre committed Jul 24, 2018
1 parent a2c615a commit 9da3407
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scraper.rb
Expand Up @@ -2,7 +2,7 @@
require 'scraperwiki'
require 'logger'

class Net::HTTP::Persistent
'''class Net::HTTP::Persistent
module DisableSslReuse
def connection_for(uri)
connection = super
Expand All @@ -12,7 +12,7 @@ def connection_for(uri)
end
include DisableSslReuse # https://qiita.com/yhara/items/01a999ddc81c037562d3
end
end'''


agent = Mechanize.new
Expand Down

0 comments on commit 9da3407

Please sign in to comment.