How to get response path from urllib in Python3? or Python3: What's the best way to get response path

20 Replies, 1329 Views

If you’re stuck on python3 get response path from urllib, `response.geturl()` is the key.

But heads up—sometimes the URL might not update if the server does weird redirects. In that case, you might need to dig into the headers manually.

`requests` lib avoids this mess entirely, just saying.

Messages In This Thread



Users browsing this thread: 1 Guest(s)