Extracting URLs from .webloc Files
Before I forget how to do this, here is a simple way to extrac URLs from Safari’s .webloc files:
find ./ -name '*.webloc' -exec strings '{}'/rsrc \; | grep http | sed '/^.http/s//http/' | sort -u | pbcopy
Seems to work for me.