in case its still useful: the opensoundscape package provides an Audio.from_url method, for instance
opensoundscape
Audio.from_url
from opensoundscape import Audio a=Audio.from_url('https://xeno-canto.org/219961') # object has a.samples, a.sample_rate, etc