Added printing Query parameter for each url and added line of dashes to separate outputs for each page