使用tinyreq / cheerio有没有办法绕过网站上的证书链?

我试图刮一个网站,我正在使用npm模块tinyreq / cheerio在此博客文章中注明

我想刮的网站使用TLS我遇到下面的错误:

Error: self signed certificate in certificate chain at Error (native) at TLSSocket.<anonymous> (_tls_wrap.js:1092:38) at emitNone (events.js:86:13) at TLSSocket.emit (events.js:185:7) at TLSSocket._finishInit (_tls_wrap.js:610:8) at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:440:38) code: 'SELF_SIGNED_CERT_IN_CHAIN' 

有没有办法我可以绕过这个节点? 或者我是否必须在脚本中包含实际的证书?