0

I have tried using requests.history and printing the status codes and response URLs but to no avail since nothing would print. I would appreciate any Python code that properly determines if a URL is redirected.

Pointing me in the right direction for effectively evaluating URL redirects would also be appreciated.

  • BeautifulSoup is not a HTTP(S) request library, please edit your question. Also, this is possible duplicate of [this question](https://stackoverflow.com/questions/20475552/python-requests-library-redirect-new-url). – Ekrem Dinçel Aug 17 '20 at 19:44

0 Answers0