- Replace & in url with
&
- #293 Update code to parse latest CF recaptcha.
- #288 Update code to parse latest CF challenge.
- #260 Update reCaptcha handling. Deprecate
captcha.urlin preference ofcaptcha.uri. Fix fallback siteKey handling
- #247 Optimize header checks.
- #242 Update Sucuri WAF Solving.
- #219 Remove a few problematic TLSv1.0 ciphers.
- Improve CF challenge security by nullifying VM context's prototype chain.
- Backport TLSv1.3 secure ciphers to potentially avoid getting a CAPTCHA.
- Improve documentation
- Add
urlto captcha - Add more examples for reCAPTCHA handling
- Randomize
User-Agentheader with random chrome browser - Recaptcha solving support
- Brotli non-mandatory support
- Various code changes and improvements
- Fix for the timeout parsing
- #193 Fix bug with setTimeout match length
- #191 Update code to parse latest CF challenge
- #182 Usage examples have been added.
- #169 Cloudscraper now automatically parses out timeout for a CF challenge.
- #180 Update code to parse latest CF challenge
- #174 Update code to parse latest CF challenge
- #165 Fixing CF challenge parsing, respect
Retry-Afterheader when CF returns429 Too Many Requestserror. - #163 Improve the accuracy of challenge timing. Throw error immediatelly without a delay
- #159 Decode emails in the page protected by CF
- #153 Update code to parse latest CF challenge
- #149 Update code to parse latest CF challenge
- #140 Update code to parse new CF challenge
- #135 Handle non-challenge response bodies
- #127 Improve cloudflare detection
- #137 Handle baseUrl option
- Various code style improvements
- BREAKING CHANGE:
get/postmethods together with their signatures are aligned with corresponding methods from request - BREAKING CHANGE:
cloudscraper.requestmethod is deprecated in favour ofcloudscraper(options) - Promise support has been added by using
request-promise - Error object are inherited from Error and have additional properties.
options- The request optionscause- An alias forerrorresponse- The request response
- Stacktraces are available in error objects
cloudflareTimeoutoption can be defined to speed up waiting time- Challenge evaluation is done in a sandbox to avoid potential secutiry issues
- Default request methods are available
- Custom cookie jar can now be passed #103
- Proxies support PR#101
- MIT license
- Minor documentation changes
- #2943 Support recursive challenge solving.
- BREAKING CHANGE Before this, when any error has been detected, the callback was called with an incorrect order:
callback(.., body, response);instead ofreturn callback(..., response, body);