cleaned up parsePage and parseLink