Skip to content

Commit

Permalink
Added further https options
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelBone committed Jul 9, 2018
1 parent 7c25900 commit da0cc68
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scraper.js
Expand Up @@ -182,7 +182,10 @@ function function2() {
port: 443,
path: "Planning-Business/Planning-Development/Development-Applications/Development-Applications-on-Public-Notification",
method: "GET",
secureProtocol: "TLSv1_2_method"
secureProtocol: "TLSv1_method",
rejectUnauthorized: false,
requestCert: true,
agent: false
};
https.request(options, res => {
console.log('statusCode:', res.statusCode);
Expand Down

0 comments on commit da0cc68

Please sign in to comment.