more robust and outputs error indeces: only titles and urls though