Youtube To Mp3

免费增值
通过 Prasadbro | 已更新 a year ago | Data
人气

8.4 / 10

延迟

4,028ms

服务等级

100%

返回所有讨论

get download_url inside <a> (Wordpress)

avatar
renatamixcom
2 years ago

(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 years ago

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