Get URL with sed instead of using Python

Nice script!