How to crawl https websites?

  node.js, question

Ordinary protocols can be easily crawled, https protocols can also be crawled without authentication, but those requiring authentication have no authority (response 403). I am not very familiar with this specific, and I have not found very good information. Please be a great god to popularize science, thank you.

I have already solved it myself. I will update it later. I need to update other items recently.