Skip to content

Commit

Permalink
Updated the SSL version.
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelBone committed Jul 8, 2018
1 parent a07bfa5 commit 4206536
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.js
Expand Up @@ -56,7 +56,7 @@ process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';

function requestPage(url, callback) {
console.log(`Requesting page: ${url}`);
https.get({ host: "www.burnside.sa.gov.au", path: "/Planning-Business/Planning-Development/Development-Applications/Development-Applications-on-Public-Notification", secureProtocol: "TLSv1_1_method" }, (error, response, body) => {
https.get({ host: "www.burnside.sa.gov.au", path: "/Planning-Business/Planning-Development/Development-Applications/Development-Applications-on-Public-Notification", secureProtocol: "TLSv1_method" }, (error, response, body) => {
//callback(error);
error.on('data', (d) => callback(d));
// if (error)
Expand Down

0 comments on commit 4206536

Please sign in to comment.