Youtube To Mp3

フリーミアム
よって Prasadbro | 更新済み 1年前 | Data
人気

8.3 / 10

レイテンシー

4,324ms

サービスレベル

100%

すべてのディスカッションに戻る

get download_url inside <a> (Wordpress)

avatar
renatamixcom
2年前

(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 2年前

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.

ディスカッションに参加しましょう-以下にコメントを追加してください:

ログイン/サインアップして新しいコメントを投稿
評価:5-投票:1