Is there a command-line Apple podcast downloader?

I had a Perl script which I’d built from reverse-engineering the pages on the Apple podcasts page so I could easily run a batch job to download new episodes overnight. But since they changed the pages I can’t see an obvious way to extract the MP3s’ URLs so I can download them.

Looking through the repos, there are GUI clients such as gnome-podcasts that can get the files, but I can’t find anything I can incorporate into a batch job.

Has anyone found any software to do this?

It is possible the page requires javascript navigation - and if it does you can get away with it using python, beautiful soup and selenium web driver.

A couple of ideas from a quick search download apple podcast using python

yt-dlp seems to have the functionality. Probably need the latest commits as I see there is an open issue about it though.

That’s handy, as I already have that installed. Thanks.
The issue probably relates to the change they made to the layout which defeated me.

… and grabbing applepodcasts.py from github makes it work!

1 Like

Worth a try, thanks.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.