What to do with the Redirect URL with a Python Script?

Will have to look into this when I get the time, thank you so much for your help and the fast responses