idealmike
Level X3
Write the reason you're deleting this FAQ
Hello all. Does anyone know of some online site or something I can use to get the full URL of a list of shortened URLS?
I don't want to visit them all myself, one by one, that would take too long.
I'm talking about a list of shortened URLs that is about 500 URLs long.
So it would take too long to get the full URL for them all that way.
I need to know of some online site/tool I can paste the URLs into it and hit submit and it just basically gets me the full URL for them.
Does anyone know of anything like that?
Thanks guys!
Mike.
#!/bin/bashIf anyone needs, here is a Bash script for expanding short URLS. It's pretty basic, so you might need to tweak it to your usage. [quote]#!/bin/bash #Expander v0.1 #A bash script which creates a list of expanded urls ($PWD/long.txt) from a list of short urls ($PWD/short.txt). 1 URL per line. This script depends on Wget, Grep, and Sed (sudo apt-get install wget grep sed). This script does not do any error checking; you should probably add some to avoid getting bad results if a url fails to resolve. This script is released to the public domain via CC0 1.0 < https://creativecommons.org/publicdomain/zero/1.0/ >. while read short; do wget --max-redirect=0 -O- "$short" 2>&1 | grep -a "Location:" | sed 's/Location: //g' | sed 's/ \[following\].*//g' >> long.txt done <short.txt[/quote]
#Expander v0.1
#A bash script which creates a list of expanded urls ($PWD/long.txt) from a list of short urls ($PWD/short.txt). 1 URL per line. This script depends on Wget, Grep, and Sed (sudo apt-get install wget grep sed). This script does not do any error checking; you should probably add some to avoid getting bad results if a url fails to resolve. This script is released to the public domain via CC0 1.0 < https://creativecommons.org/publicdomain/zero/1.0/ >.
while read short; do
wget --max-redirect=0 -O- "$short" 2>&1 | grep -a "Location:" | sed 's/Location: //g' | sed 's/ \[following\].*//g' >> long.txt
done <short.txt
Are you sure you want to delete this post?
Are you sure you want to delete this post?
Tronia
http://www.checkshorturl.com/ or maybe this one http://www.searchcommander.com/seo-tools/bulk-url-checker/
I have never done something like this myself since I never needed to so I hope one of these works! Do you mean something like this Mike? http://www.checkshorturl.com/ or maybe this one http://www.searchcommander.com/seo-tools/bulk-url-checker/ I have never done something like this myself since I never needed to so I hope one of these works!
Are you sure you want to delete this post?