Parse team and league