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

392
Vistas
Scrapping data with puppeteer in Nodejs, Results are different

I want to scrap the text '1 views' from this URL "https://www.loom.com/share/5b920dc1375f43fa9b622ac0a6ba7c52"
Url of image: https://imgur.com/r8dbUbV

In browser console it gives result perfectly
Url of image: https://imgur.com/Z4XrR3f

but in puppeteer it gives 'Record a loom'
Url of image: https://imgur.com/zL1varD

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

I noticed a similar issue when trying different browsers. Your selector worked fine for me in Firefox, but not in Chrome. I'm assuming you are using Chrome with Puppeteer, as it is the default. If that's the case we are likely seeing the same issue. Anyway, try this selector out instead:

document.querySelector(`[class*="header-content"] span:nth-child(2)`)

Happy scraping, and cheers!

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