NodeBytes
Dedi Addict
Hello all,
I have an XML file with links to mp3 files. (RSS feed)
I need to download all the mp3 files that are linked to on this XML file.
Here's a sample item from the RSS feed.
<item>
<title>Simply Christmas, Part 3</title>
<itunes:author>Tom Hughes</itunes:author>
<itunes:summary/>
<enclosure url="http://cachurch.com//podcasttracking/667d51e5-828a-4091-bb86-e74ed94a8c75/3e3ad3c2-8df2-45c8-b155-d3bc89f96d51/SimplyChristmasPt3.mp3" length="51853488" type="audio/mpeg"/>
<guid>
http://cachurch.com//podcasttracking/667d51e5-828a-4091-bb86-e74ed94a8c75/3e3ad3c2-8df2-45c8-b155-d3bc89f96d51/SimplyChristmasPt3.mp3
</guid>
<pubDate>Sun, 22 Dec 2013 12:00:00 GMT</pubDate>
<itunes:duration>33:08</itunes:duration>
<itunes:keywords>
Tom, Hughes, Simply, Christmas, December, 21, 22, 2013, sermon
</itunes:keywords>
</item>
How would you scrape this for just the links to the mp3 files and then download them?
Thanks,
Brendan
I have an XML file with links to mp3 files. (RSS feed)
I need to download all the mp3 files that are linked to on this XML file.
Here's a sample item from the RSS feed.
<item>
<title>Simply Christmas, Part 3</title>
<itunes:author>Tom Hughes</itunes:author>
<itunes:summary/>
<enclosure url="http://cachurch.com//podcasttracking/667d51e5-828a-4091-bb86-e74ed94a8c75/3e3ad3c2-8df2-45c8-b155-d3bc89f96d51/SimplyChristmasPt3.mp3" length="51853488" type="audio/mpeg"/>
<guid>
http://cachurch.com//podcasttracking/667d51e5-828a-4091-bb86-e74ed94a8c75/3e3ad3c2-8df2-45c8-b155-d3bc89f96d51/SimplyChristmasPt3.mp3
</guid>
<pubDate>Sun, 22 Dec 2013 12:00:00 GMT</pubDate>
<itunes:duration>33:08</itunes:duration>
<itunes:keywords>
Tom, Hughes, Simply, Christmas, December, 21, 22, 2013, sermon
</itunes:keywords>
</item>
How would you scrape this for just the links to the mp3 files and then download them?
Thanks,
Brendan