because I don"t know why my twitch client can"t update my Warcraft plug-in, I plan to make something to update the plug-in automatically from curseforge for my own use, but I encounter problems when I try to download the plug-in.
const url = "https://www.curseforge.com/wow/addons/weakauras-2/download/2595192/file"
//const url = "https://media.forgecdn.net/files/2597/855/Bagnon_8.0.2.zip"
request.get({url: url,}).pipe(fs.createWriteStream(path.resolve("./temp/download.zip")))
the first is the original download address of the page crawl, and the second is the final download address after the jump, but no matter which address is used, there will be a timeout error under Mac OS, but it will work normally under Windows. I play Warcraft on the Windows machine, so it doesn"t affect my use, but I just want to know why.