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

128
Views
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
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!