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

195
Visualizações
Is it possible to extract the download syllabus link with requests or scrapy without selenium

I am trying to extract the download syllabus link from this website- https://www.simplilearn.com/big-data-and-analytics/python-for-data-science-training

The link is not available on page source, and I was not able to see anything in network tab. But if we click the link, the link opens in a different tab.

I know, it is possible to extract using selenium, but can we extract without selenium?

enter image description here

the link is hidden with '#' in page source.

So I am not sure, how to extract the links. I know that I won't be able to extract using xpath or css. Can someone help me?

about 4 years ago · Santiago Gelvez
1 Respostas
Responde à pergunta

0

In this particular case,

The URL link is base64 encoded in the div with id = "DownloadSyllabus2", on its data-url attribute (right above the a href you are mentioning):

aHR0cHM6Ly93d3cuc2ltcGxpbGVhcm4uY29tL2ljZTkvcGRmcy9hZ2VuZGEvb25saW5lL0RhdGElMjBTY2llbmNlJTIwd2l0aCUyMFB5dGhvbi5wZGY=

You need to decode it using base64 and you will get the desired url: https://www.simplilearn.com/ice9/pdfs/agenda/online/Data%20Science%20with%20Python.pdf

This is not a magic solution for all cases like this, but it works for this website and is the best solution here.

So, Data extraction is not always about the solutions, but to be able to reverse engineer the website logic.

Happy Scraping :)

about 4 years ago · Santiago Gelvez 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