Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

85
Visualizações
Splash does not render the elements created by javascript

I know there are a couple of posts asking the same questions. I have tried them all but after a couple of sleepless nights, I had to ask the question and I will be very appreciative if someone can help me with the problem.

So I am trying to get the reviews from a yelp restaurants page using Python. The reviews are generated dynamically using javascript. I tried every possible way with scrapy, requests-html, scrapy_splash, beautifulSoup. Nothing worked. I realized that even when using Splash by itself through the browser using localhost:8050, I still get the same problem. I tried to disable the private mode and increase the wait time but that did not fix the problem. I also tried it on both firefox and chromium, still the same.

Here is the page I am testing https://www.yelp.com/biz/brendas-french-soul-food-san-francisco-5

You will notice that the divs containing the reviews are missing.

Any help will be much appreciated.

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

The reviews you are searching for are loaded by js requesting this endpoint

https://www.yelp.com/biz/lJAGnYzku5zSaLnQ_T6_GQ/review_feed?rl=en&q=&sort_by=relevance_desc&start={offset value}

Which shows 10 comments and whole load of other data.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda