added try except to skip bad links