Using a Windows 10 PC, I'd like to download all mp3 files listed in the enclosure tags of an rss feed.

I tried HTTRack and http://www.commandlinefu.com/commands/view/12756/download-files-linked-in-a-rss-feed but had no luck with either.

Anyone know of other alternatives?

  • 1
    I'd probably go for Powershell being on Windows. Here is an example: phejndorf.wordpress.com/2011/04/20/… Hard to be more specific without seeing the XML of the feed but that should get you going. Looking at the code, the call to DownloadString on the second line has the URL, which you will presumably change. This should be within double-quotes, i.e. "link". In the example, the second double quote has been escaped to ". – HelpingHand Sep 10 '17 at 11:00
  • This is perfect! Can you add as an answer so I can mark as correct? – Rob Bowman Sep 10 '17 at 13:14
up vote 1 down vote accepted

Given you are on the Windows platform, the best choice here without resorting to third-party utilities is probably Powershell. It can download files from a URL and has good parsing of XML. If you need an example, the following should be helpful:

http://www.hanselman.com/blog/Mix11VideosDownloadThemAllWithRSS.aspx

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.