sming
New member
Hi folks,
In a nutshell, Reddit bans the Google photos short links, which is really frustrating. What I would like is to write a macro which does a GET on the short link (screenshot attached) - which is what Google photos gives you when you share an album - and perform a HTTP GET Request with the redirect box checked - and I don't care about the response whatsoever I just care about the final URL - i.e. I want the full length Google photos link.
Does anyone know of a way to do this in macrodroid? For reference here is how you do it to be redirected from Google.Com to www.google.com using the venerable curl command in your favorite shell:
From the always excellent Baeldung site.
Cheers, all help welcome!
Pete
In a nutshell, Reddit bans the Google photos short links, which is really frustrating. What I would like is to write a macro which does a GET on the short link (screenshot attached) - which is what Google photos gives you when you share an album - and perform a HTTP GET Request with the redirect box checked - and I don't care about the response whatsoever I just care about the final URL - i.e. I want the full length Google photos link.
Does anyone know of a way to do this in macrodroid? For reference here is how you do it to be redirected from Google.Com to www.google.com using the venerable curl command in your favorite shell:
curl -Ls -o /dev/null -w %{url_effective} http://google.com
http://www.google.com/
From the always excellent Baeldung site.
Cheers, all help welcome!
Pete