Live data from Hacker News

Extract Redirected URL Using Python

news.ycombinator.com

1–4 of 4 posts

Extract Redirected URL Using Python

#1
Greeting Python Experts.

I am working in Scraping where I need to download pdf files. While navigating the Download button of the targeted web page. I get redirected the the google drive which contain pdf file. Is there any way to get the redirected link.

---

I already tried .url module after requests.

----

Another problem is redirected link opens only after 30 second after clicked download button .

-----