What would be the best way to extract data from a Script on an URL?

Hi everyone,

I've been trying to extract a media "mp3" from a webpage, and download it later on.

Script
cover: 'https://md1.rpp-noticias.io/256x256/2018/09/10/6752021400x1400-gastonjpg.jpg',
title: 'Pastel de choclo: el encanto de la tierra en una tajada de amor por Gastón Acurio',
media: 'https://mdf.rpp-noticias.io/podcast%2F2020%2F03%2F25%2F403-rm-pastel-de-choclo-podcast-version-2.mp3'
}

What i want to extract is the "media:" mp3 file for each URL, what would be the most efficient way to do it, with RegexpFindOnUrl or with XPathOnUrl?

thanks a lot.

I kind of found a way with regex "media: (.*?).mp3"

to extract this from a URL
media: 'https://mdf.rpp-noticias.io/podcast%2F2020%2F03%2F25%2F403-rm-pastel-de-choclo-podcast-version-2.mp3