Add 'echo_url' function
Wrap url retrieval in try/except