Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
11 kB
4
Indexable
Never
[22/11 - 22:53:23]} [WARN]} ▼ UNHANDLED_REJECTION: StatusCodeError: 403 - "<html>\r\n<div>Error - 403. Your client does not have permission to access this page at this time. Contact us on <a href=\"/cdn-cgi/l/email-protection\" class=\"__cf_email__\" data-cfemail=\"fc8f898c8c938e88bc9a89889e9592d29f9391\">[email&#160;protected]</a></div>\r\n<script data-cfasync=\"false\" src=\"/cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js\"></script><script>(function(){var js = \"window['__CF$cv$params']={r:'76e4e5c7dd15b755',m:'HClReNNFKq5ajT_5AP4WsT5UX1xvCmBrXdk1xheXb8o-1669154003-0-ATnUSMM6oI1mf5ocknKLcd3PF5+lB9fYTxnGjac3sQyxeB7OJ3aa34BHRmkefAyuRC2TUl97Uk4jN6H7FN7q4kt2xmW4HtwLM/MpNNL7uIXDC3zBUVkgMwL9i3ESGbG2rdsNx0FgHFlxhpaQsG0M4bjds87VjLbDe0OcbNCeHa3BbHtGYEdbJ/iAMt0ZuqqwVNXskjpeUP7FXWwNJq5H55U=',s:[0x66407558c3,0x9d32fde6e2],u:'/cdn-cgi/challenge-platform/h/b'};var now=Date.now()/1000,offset=14400,ts=''+(Math.floor(now)-Math.floor(now%offset)),_cpo=document.createElement('script');_cpo.nonce='',_cpo.src='/cdn-cgi/challenge-platform/h/b/scripts/alpha/invisible.js?ts='+ts,document.getElementsByTagName('head')[0].appendChild(_cpo);\";var _0xh = document.createElement('iframe');_0xh.height = 1;_0xh.width = 1;_0xh.style.position = 'absolute';_0xh.style.top = 0;_0xh.style.left = 0;_0xh.style.border = 'none';_0xh.style.visibility = 'hidden';document.body.appendChild(_0xh);function handler() {var _0xi = _0xh.contentDocument || _0xh.contentWindow.document;if (_0xi) {var _0xj = _0xi.createElement('script');_0xj.nonce = '';_0xj.innerHTML = js;_0xi.getElementsByTagName('head')[0].appendChild(_0xj);}}if (document.readyState !== 'loading') {handler();} else if (window.addEventListener) {document.addEventListener('DOMContentLoaded', handler);} else {var prev = document.onreadystatechange || function () {};document.onreadystatechange = function (e) {prev(e);if (document.readyState !== 'loading') {document.onreadystatechange = prev;handler();}};}})();</script></html>" ▼

Promise {
  <rejected> StatusCodeError: 403 - "<html>\r\n<div>Error - 403. Your client does not have permission to access this page at this time. Contact us on <a href=\"/cdn-cgi/l/email-protection\" class=\"__cf_email__\" data-cfemail=\"fc8f898c8c938e88bc9a89889e9592d29f9391\">[email&#160;protected]</a></div>\r\n<script data-cfasync=\"false\" src=\"/cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js\"></script><script>(function(){var js = \"window['__CF$cv$params']={r:'76e4e5c7dd15b755',m:'HClReNNFKq5ajT_5AP4WsT5UX1xvCmBrXdk1xheXb8o-1669154003-0-ATnUSMM6oI1mf5ocknKLcd3PF5+lB9fYTxnGjac3sQyxeB7OJ3aa34BHRmkefAyuRC2TUl97Uk4jN6H7FN7q4kt2xmW4HtwLM/MpNNL7uIXDC3zBUVkgMwL9i3ESGbG2rdsNx0FgHFlxhpaQsG0M4bjds87VjLbDe0OcbNCeHa3BbHtGYEdbJ/iAMt0ZuqqwVNXskjpeUP7FXWwNJq5H55U=',s:[0x66407558c3,0x9d32fde6e2],u:'/cdn-cgi/challenge-platform/h/b'};var now=Date.now()/1000,offset=14400,ts=''+(Math.floor(now)-Math.floor(now%offset)),_cpo=document.createElement('script');_cpo.nonce='',_cpo.src='/cdn-cgi/challenge-platform/h/b/scripts/alpha/invisible.js?ts='+ts,document.getElementsByTagName('head')[0].appendChild(_cpo);\";var _0xh = document.createElement('iframe');_0xh.height = 1;_0xh.width = 1;_0xh.style.position = 'absolute';_0xh.style.top = 0;_0xh.style.left = 0;_0xh.style.border = 'none';_0xh.style.visibility = 'hidden';document.body.appendChild(_0xh);function handler() {var _0xi = _0xh.contentDocument || _0xh.contentWindow.document;if (_0xi) {var _0xj = _0xi.createElement('script');_0xj.nonce = '';_0xj.innerHTML = js;_0xi.getElementsByTagName('head')[0].appendChild(_0xj);}}if (document.readyState !== 'loading') {handler();} else if (window.addEventListener) {document.addEventListener('DOMContentLoaded', handler);} else {var prev = document.onreadystatechange || function () {};document.onreadystatechange = function (e) {prev(e);if (document.readyState !== 'loading') {document.onreadystatechange = prev;handler();}};}})();</script></html>"
      at new StatusCodeError (/home/container/node_modules/request-promise-core/lib/errors.js:32:15)
      at plumbing.callback (/home/container/node_modules/request-promise-core/lib/plumbing.js:104:33)
      at Request.RP$callback [as _callback] (/home/container/node_modules/request-promise-core/lib/plumbing.js:46:31)
      at self.callback (/home/container/node_modules/request/request.js:185:22)
      at onRequestComplete (/home/container/node_modules/cloudscraper/index.js:629:3)
      at onCloudflareResponse (/home/container/node_modules/cloudscraper/index.js:251:3)
      at onRequestResponse (/home/container/node_modules/cloudscraper/index.js:205:5)
      at Request.<anonymous> (/home/container/node_modules/cloudscraper/index.js:149:7)
      at Object.onceWrapper (node:events:628:26)
      at Request.emit (node:events:513:28)
      at Request.<anonymous> (/home/container/node_modules/request/request.js:1154:10)
      at Request.emit (node:events:513:28)
      at Gunzip.<anonymous> (/home/container/node_modules/request/request.js:1076:12)
      at Object.onceWrapper (node:events:627:28)
      at Gunzip.emit (node:events:513:28)
      at endReadableNT (node:internal/streams/readable:1359:12)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    statusCode: 403,
    error: '<html>\r\n' +
      '<div>Error - 403. Your client does not have permission to access this page at this time. Contact us on <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="fc8f898c8c938e88bc9a89889e9592d29f9391">[email&#160;protected]</a></div>\r\n' +
      `<script data-cfasync="false" src="/cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js"></script><script>(function(){var js = "window['__CF$cv$params']={r:'76e4e5c7dd15b755',m:'HClReNNFKq5ajT_5AP4WsT5UX1xvCmBrXdk1xheXb8o-1669154003-0-ATnUSMM6oI1mf5ocknKLcd3PF5+lB9fYTxnGjac3sQyxeB7OJ3aa34BHRmkefAyuRC2TUl97Uk4jN6H7FN7q4kt2xmW4HtwLM/MpNNL7uIXDC3zBUVkgMwL9i3ESGbG2rdsNx0FgHFlxhpaQsG0M4bjds87VjLbDe0OcbNCeHa3BbHtGYEdbJ/iAMt0ZuqqwVNXskjpeUP7FXWwNJq5H55U=',s:[0x66407558c3,0x9d32fde6e2],u:'/cdn-cgi/challenge-platform/h/b'};var now=Date.now()/1000,offset=14400,ts=''+(Math.floor(now)-Math.floor(now%offset)),_cpo=document.createElement('script');_cpo.nonce='',_cpo.src='/cdn-cgi/challenge-platform/h/b/scripts/alpha/invisible.js?ts='+ts,document.getElementsByTagName('head')[0].appendChild(_cpo);";var _0xh = document.createElement('iframe');_0xh.height = 1;_0xh.width = 1;_0xh.style.position = 'absolute';_0xh.style.top = 0;_0xh.style.left = 0;_0xh.style.border = 'none';_0xh.style.visibility = 'hidden';document.body.appendChild(_0xh);function handler() {var _0xi = _0xh.contentDocument || _0xh.contentWindow.document;if (_0xi) {var _0xj = _0xi.createElement('script');_0xj.nonce = '';_0xj.innerHTML = js;_0xi.getElementsByTagName('head')[0].appendChild(_0xj);}}if (document.readyState !== 'loading') {handler();} else if (window.addEventListener) {document.addEventListener('DOMContentLoaded', handler);} else {var prev = document.onreadystatechange || function () {};document.onreadystatechange = function (e) {prev(e);if (document.readyState !== 'loading') {document.onreadystatechange = prev;handler();}};}})();</script></html>`,
    options: {
      requester: [Function],
      jar: [RequestJar],
      headers: [Object],
      cloudflareMaxTimeout: 30000,
      followAllRedirects: true,
      challengesToSolve: 3,
      decodeEmails: false,
      gzip: true,
      agentOptions: [Object],
      method: 'GET',
      url: 'https://www.futbin.com/players?page=1&pc_price=1-15000000&player_rating=84-84&sort=pc_price&order=asc',
      realEncoding: 'utf8',
      encoding: null,
      callback: [Function: RP$callback],
      transform: undefined,
      simple: true,
      resolveWithFullResponse: false,
      transform2xxOnly: false
    },
    response: IncomingMessage {
      _readableState: [ReadableState],
      _events: [Object: null prototype],
      _eventsCount: 2,
      _maxListeners: undefined,
      socket: null,
      httpVersionMajor: 1,
      httpVersionMinor: 1,
      httpVersion: '1.1',
      complete: true,
      rawHeaders: [Array],
      rawTrailers: [],
      aborted: false,
      upgrade: false,
      url: '',
      method: null,
      statusCode: 403,
      statusMessage: 'Forbidden',
      client: [TLSSocket],
      _consuming: true,
      _dumped: false,
      req: [ClientRequest],
      request: [Request],
      toJSON: [Function: responseToJSON],
      caseless: [Caseless],
      body: '<html>\r\n' +
        '<div>Error - 403. Your client does not have permission to access this page at this time. Contact us on <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="fc8f898c8c938e88bc9a89889e9592d29f9391">[email&#160;protected]</a></div>\r\n' +
        `<script data-cfasync="false" src="/cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js"></script><script>(function(){var js = "window['__CF$cv$params']={r:'76e4e5c7dd15b755',m:'HClReNNFKq5ajT_5AP4WsT5UX1xvCmBrXdk1xheXb8o-1669154003-0-ATnUSMM6oI1mf5ocknKLcd3PF5+lB9fYTxnGjac3sQyxeB7OJ3aa34BHRmkefAyuRC2TUl97Uk4jN6H7FN7q4kt2xmW4HtwLM/MpNNL7uIXDC3zBUVkgMwL9i3ESGbG2rdsNx0FgHFlxhpaQsG0M4bjds87VjLbDe0OcbNCeHa3BbHtGYEdbJ/iAMt0ZuqqwVNXskjpeUP7FXWwNJq5H55U=',s:[0x66407558c3,0x9d32fde6e2],u:'/cdn-cgi/challenge-platform/h/b'};var now=Date.now()/1000,offset=14400,ts=''+(Math.floor(now)-Math.floor(now%offset)),_cpo=document.createElement('script');_cpo.nonce='',_cpo.src='/cdn-cgi/challenge-platform/h/b/scripts/alpha/invisible.js?ts='+ts,document.getElementsByTagName('head')[0].appendChild(_cpo);";var _0xh = document.createElement('iframe');_0xh.height = 1;_0xh.width = 1;_0xh.style.position = 'absolute';_0xh.style.top = 0;_0xh.style.left = 0;_0xh.style.border = 'none';_0xh.style.visibility = 'hidden';document.body.appendChild(_0xh);function handler() {var _0xi = _0xh.contentDocument || _0xh.contentWindow.document;if (_0xi) {var _0xj = _0xi.createElement('script');_0xj.nonce = '';_0xj.innerHTML = js;_0xi.getElementsByTagName('head')[0].appendChild(_0xj);}}if (document.readyState !== 'loading') {handler();} else if (window.addEventListener) {document.addEventListener('DOMContentLoaded', handler);} else {var prev = document.onreadystatechange || function () {};document.onreadystatechange = function (e) {prev(e);if (document.readyState !== 'loading') {document.onreadystatechange = prev;handler();}};}})();</script></html>`,
      responseStartTime: 1669154003265,
      isCloudflare: true,
      isHTML: true,
      [Symbol(kCapture)]: false,
      [Symbol(kHeaders)]: [Object],
      [Symbol(kHeadersCount)]: 26,
      [Symbol(kTrailers)]: null,
      [Symbol(kTrailersCount)]: 0
    }
  }
}