Frage

I'm trying to list audio/video preview URLS of a podcast show, for example: Solid Steel.

I have this result and i can get the URL (trackViewUrl node) that i want to parse. I can parse that with file_get_contents and simple_html_dom class. But it's too slow. I want to do this with JSON/JS way.

I wonder if it's possible to reach the content of the trackViewUrl with a JSON request via iTunes Search API.

War es hilfreich?

Lösung

Podcasts are unique in that they don't have a (90sec or 30sec) preview on the store - the preview functionality just plays the entire episode.

What you want to do with the JSON result you just got from iTunes is parse the "feedUrl" from the results. When you crawl the feed of the podcast directly you can get the audio URL for each episode.

iTunes doesn't host the content for podcasts like they do for songs. The podcast owner is responsible for hosting and pointing their feed to iTunes. Any broken audio links or issues with the feedUrl will be the responsibility of the podcast owner.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top