cloudscraper
Advanced tools
Comparing version 4.1.1 to 4.1.2
## Change Log | ||
### 4.1.2 (23/05/2019) | ||
- [#219](https://github.com/codemanki/cloudscraper/pull/219) Remove a few problematic TLSv1.0 ciphers. | ||
### 4.1.1 (11/05/2019) | ||
@@ -3,0 +7,0 @@ - Improve CF challenge security by nullifying VM context's prototype chain. |
@@ -7,4 +7,4 @@ 'use strict'; | ||
const getDefaultHeaders = require('./lib/headers'); | ||
const agentOptions = require('./lib/agent-options'); | ||
const brotli = require('./lib/brotli'); | ||
const crypto = require('crypto'); | ||
@@ -41,4 +41,6 @@ const { | ||
gzip: true, | ||
// Adds secure TLSv1.3 ciphers when using older openssl versions | ||
agentOptions | ||
agentOptions: { | ||
// Removes a few problematic TLSv1.0 ciphers to avoid CAPTCHA | ||
ciphers: crypto.constants.defaultCipherList + ':!ECDHE+SHA:!AES128-SHA' | ||
} | ||
}; | ||
@@ -45,0 +47,0 @@ |
{ | ||
"name": "cloudscraper", | ||
"version": "4.1.1", | ||
"version": "4.1.2", | ||
"description": "Bypasses cloudflare's anti-ddos page", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -40,2 +40,6 @@ cloudscraper | ||
Support for Brotli encoded responses is enabled by default when using Node.js v10 or later. | ||
If you wish to enable support for older Node.js versions, you may install [brotli](https://npmjs.com/package/brotli). | ||
It is recommended but not required. | ||
Usage | ||
@@ -132,3 +136,7 @@ ============ | ||
// Remove Cloudflare's email protection, replace encoded email with decoded versions | ||
decodeEmails: false | ||
decodeEmails: false, | ||
// Support gzip encoded responses (Should be enabled unless using custom headers) | ||
gzip: true, | ||
// Removes a few problematic TLSv1.0 ciphers to avoid CAPTCHA | ||
agentOptions: { ciphers } | ||
}; | ||
@@ -135,0 +143,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
204
1
76179
11
997