Check if author span exists
Write to csv file after every page