How to get list of podcast episodes from an album (iTunes Search API)

[亡魂溺海] 提交于 2019-12-04 05:22:26

I think what you need to do is to take that feed URL and get the tracks from there directly

"feedUrl": "http://jovemnerd.com.br/categoria/nerdcast/feed/",

I suspect that the iTunes search API documentation and implementation contain caveats that are not written clearly out.

For me, this works. I use this code: https://github.com/ijanerik/PHP-iTunes-API/blob/master/README.md

foreach($results as $item){
$url = $item->feedUrl;
}
$xml = simplexml_load_file($url) or die("feed not loading");
print_r($xml);
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!