#!/bin/sh -e

wget -T10 --max-redirect 0 --spider "$1" 2>&1 \
  | grep -E '^Loca(tion|liza..o):' | cut -d' ' -f2
