- #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/post
methods together with their signatures are aligned with corresponding methods from request - BREAKING CHANGE:
cloudscraper.request
method 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 forerror
response
- The request response
- Stacktraces are available in error objects
cloudflareTimeout
option 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);