diff --git a/scraper.rb b/scraper.rb index e6052b7..2c5a517 100644 --- a/scraper.rb +++ b/scraper.rb @@ -15,7 +15,7 @@ def connection_for(uri) agent = Mechanize.new -agent.ssl_version = :SSLv23_client +agent.ssl_version = TLSv1_2_client enquiry_url = "https://epathway.thehills.nsw.gov.au/ePathway/Production/Web/GeneralEnquiry/EnquiryLists.aspx" # Get the main page and ask for DAs