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

127
Vistas
scrapy splash css selector not getting data

I have this web:

https://analisi.transparenciacatalunya.cat/es/Energia/Certificats-d-efici-ncia-energ-tica-d-edificis/j6ii-t3w2

and am trying to get the total number of rows from the table that is at the end of the web (1.341.412) . the selector is :

#app > div > div.container.landing-page-container > section.landing-page-section.dataset-preview > div.table-contents > div > div > div.socrata-visualization-container.loaded > div.socrata-pager > span.pager-label

The web loads elements via JS, so I´m trying to get this element via shell like this:

scrapy shell "http://localhost:8050/render.html?url="https://analisi.transparenciacatalunya.cat/es/Energia/Certificats-d-efici-ncia-energ-tica-d-edificis/j6ii-t3w2/data/""

inside the shell :

 fetch('https://analisi.transparenciacatalunya.cat/es/Energia/Certificats-d-efici-ncia-energ-tica-d-edificis/j6ii-t3w2')

response status is ok: 200

but I can´t find a way to get the text from span class=pager-label

could someone help me please...I can´t find the

response.css(' '::text).get()

I always get an empty response....

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