Extract Redirected URL Using Python

1 points by hidemyass44 ↗ HN
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 .

-----

3 comments

[ 2.6 ms ] story [ 30.6 ms ] thread
(comment deleted)
(comment deleted)