Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

191
Views
El sitio se está cargando tarde, por lo que falta la función axios.get, ¿cómo solucionar ese problema?

Intenté eso pero no funcionó:

 const https = require('https'); const fs = require("fs"); const options = { hostname: 'dlive.tv', port: 443, path: '/IXCOSANXCI', method: 'GET', }; var html = "" function func(){ fs.writeFileSync("./response.txt",html) console.log("writed") } const req = https.request(options, res => { console.log(`statusCode: ${res.statusCode}`); res.on('data', d => { html += d }); setTimeout(func, 5 * 1000) }); req.on('error', error => { console.error(error); }); req.end();

normalmente, si intenta esto, los mensajes en el chat de dlive se descargarán:

 const axios = require("axios"); const fs = require("fs"); (async () => { const response = await axios.get(`https://dlive.tv/IXCOSANXCI`); fs.writeFileSync("./response.txt",response.data) })();

en breve ¿Hay alguna manera de obtener todo el sitio? es decir, respuesta después de 5 segundos o más

Yo uso node.js v12.20.10

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!