Trying to figure out how soundcloud-dl does it.