1
I need for my project, some function using Python 2.7 enter a URL, and get the next URL from it. -> Example: goo.Gl/LAKFXG = / bit.ly/2D3SEnZ = /
I don’t want to use the API of these URLS, but something that really goes into the url and gives me the final URL. However, I’m out of ideas. Any library? Remembering that I don’t want to use the Shorteners API.
Since I don’t work with Python, I’ll leave a hint that might help you. Use the command
cURL
Python to access this url. However, instead of returning "body", you return only the "headers". Having the headers, simply filter by Location, followlocation, etc..– Valdeir Psr
What you’re implementing is something like unshortener URL?
– José Diz