more robust and ouptputs error indeces of titles. ouputs only titles and urls