Skip to content
This repository has been archived by the owner on Mar 4, 2022. It is now read-only.

Commit

Permalink
Try OpenSSL::SSL::VERIFY_NONE.
Browse files Browse the repository at this point in the history
  • Loading branch information
reitermarkus committed Jan 3, 2019
1 parent 1ba87d0 commit c7bea98
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scraper.rb
Expand Up @@ -3,6 +3,8 @@

agent = Mechanize.new

agent.agent.http.verify_mode = OpenSSL::SSL::VERIFY_NONE

page = agent.get('https://www.fastenergy.at/heizoelpreis-tendenz.htm')

rows = page.search('#tabelle tbody tr')
Expand Down

0 comments on commit c7bea98

Please sign in to comment.