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 6bf6776 commit 3f5ca92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.js
Expand Up @@ -54,7 +54,7 @@ function insertRow(database, developmentApplication) {

function requestPage(url, callback) {
console.log(`Requesting page: ${url}`);
request.get({ uri: url, agentOptions: { secureProtocol: "SSLv3_method", strictSSL: false } }, (error, response, body) => {
request.get({ uri: url, agentOptions: { strictSSL: false } }, (error, response, body) => {
if (error)
console.log(`Error requesting page ${url}: ${error}`);
else
Expand Down

0 comments on commit 3f5ca92

Please sign in to comment.