fetch degree-code from url