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

397
Views
Cómo pasar datos en node.js (sin resolver)

¿Cómo canalizo un archivo desde un servidor externo a través de localhost (Node.JS)?
(Cargue localhost como si fuera otro sitio como http://mcom.com )

Solicitudes de PC http://localhost:80/highres/switch.html
Descargas de nodos http://mcom.com/highres/switch.html
Luego envía el archivo descargado de vuelta a la PC/cliente

alias
REQ.URL /highres/switch.html
OBTENER http://mcom.com + req.url
ENVIAR archivo mcom a la solicitud localhost

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

const scrape = require('website-scraper'); const options = { urls: ['http://mcom.com/highres/switch.html'], directory: "./result" }; scrape(options);

Esto debería funcionar, pero antes de usarlo, escriba en la terminal

raspador de sitios web npm i

Esto le dará una carpeta llamada result y tendrá el archivo html, si necesita más ayuda, comente esta publicación

about 4 years ago · Juan Pablo Isaza Report
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!