Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

166
Vistas
Can't get a raw href out of html code using a web-scraping js script

I am a little bit of a noob and I am trying to make a script that scrapes a specific website. I am trying to get a link out of the HTML code of that website with getProperty, but it doesn't work, and I don't know how I can solve this. Could anyone help me?

const link = await page.$x('/html/body/div[4]/div[3]/div/div[2]/div/div/div/div/div[1]/div/div[1]');
const linkurl = await link.getProperty('href');
const tags = url.querySelector('href');
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda