Function to get all jobs from every page