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

194
Views
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 answers
Answer question

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 Report
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!