docs/examples/solve-recaptcha-v2.js
function alternative (options, { captcha: { url, siteKey } }) {
  // Here you do some magic with the siteKey provided by cloudscraper
  console.error('The url is "' + url + '"');
  console.error('The site key is "' + siteKey + '"');
  return Promise.reject(new Error('This is a dummy function'));
}
function alternative (options, { captcha: { url, siteKey } }) {
  // Here you do some magic with the siteKey provided by cloudscraper
  console.error('The url is "' + url + '"');
  console.error('The site key is "' + siteKey + '"');
  return Promise.reject(new Error('This is a dummy function'));
}
An example handler with destructuring arguments