Hello all!
What I'm trying to do is use the Download Tool to give me the URL that a page is redirected to. I checked the headers output, but it was not there. Specifically, I'm trying to get the redirected URL from Facebook when going to the old http://www.facebook.com/pages/example/1234... page and get the newer http://www.facebook.com/handle page. I can paste the old URL into a browser and it redirects to the new one, but I need a systematic way of doing this.
Any ideas?
Solved! Go to Solution.
@Shawn_Solo Do you have an example of the redirect that actually works? The download tool should have the redirect url in the download data header. You can then parse it out using the parsing tools inside of Alteryx.
Example of the old URL:
http://www.facebook.com/pages/AlbertsGiftscom/136350116394694
Redirects to new URL:
https://www.facebook.com/AlbertsGiftscom-136350116394694/
I don't see the redirected URL in the data header though; just the old one.
@Shawn_Solo Attached is the workflow that grabs the redirect url from the original website. In the html, the tag you want to look for is "link rel="alternate" type=". This has the redirect url in it.
Does this help?
Truly amazing! Thank you!