Added -d (--direct) option to get direct urls