Youtube To Mp3

FREEMIUM
Par Prasadbro | Mise à jour il y a un an | Data
Popularité

8.3 / 10

Latence

4,324ms

Niveau de service

100%

Retour à toutes les discussions

get download_url inside <a> (Wordpress)

avatar
renatamixcom
il y a 2 ans

(Wordpress) I’m using Woody Snippets to run cURL and it’s working perfectly via shortcode.

I managed to get the "$response" but it is returning all 6 strings.

I would like to print only the "download_url" inside a <a> tag.

That alone is good. But if possible, supplement with this information:

The video id is inside an acf_field. If possible, illustrate how I can integrate "the_field" here:

CURLOPT_URL => "https://youtube-to-mp32.p.rapidapi.com/yt_to_mp3?video_id=(ACF_TEXT_FIELD_HERE)"

avatar
Prasadbro commented il y a 2 ans

Sorry fore late reply , i really dont have any idea about php and wordpress but rapidapi provide you code snippets for all languages all you need to do is get responce parse it and integrate download link in a tag.

Participez à la discussion - ajoutez un commentaire ci-dessous:

Connectez-vous / Inscrivez-vous pour publier de nouveaux commentaires
Note : 5 - Votes : 1