Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I search on the sites of the podcasts' producers, nothing to do with iTunes. I started doing this before the word podcast existed. I prefer not telling anybody what I want to listen to. I use snarf & lynx, the usual Unix utilities to parse the files I fetch, keep a database of last-fetched to prevent repeats.
I don't listen to many podcasts. When I do, I look at the podcast page, which is usually xml. Then use a script of some kind, either python or bash, to parse the xml and get the links to the .mp3 files and the titles, save the results to log, download the ones I want.
Example:
Code:
#! /usr/bin/python
import xml.etree.ElementTree
import urllib.request
agent = ('Mozilla/5.0 (Windows NT 10.0; x86_64; rv:65.0)'
' Gecko/20100101 Firefox/65.0')
user_agent = {'User-Agent': agent}
url = ('http://some/where/Audio-Podcasts/rss/page.xml')
req = urllib.request.Request(url, data=None, headers=user_agent)
html = urllib.request.urlopen(req)
tree = xml.etree.ElementTree.parse(html)
root = tree.getroot()
a = []
for i in root.iter('title'):
a.append(i.text)
b = []
for i in root.iter('link'):
b.append(i.text)
c = [x for y in zip(a,b) for x in y]
with open('podcast.log', 'a') as f:
for i in c:
f.write(i+"\n\n")
So, I custom make a script for the rss source. I only look at 2 or 3. Anyway xml.etree.ElementTree will spit those out.
XML feeds of podcasts (any sort of audio really; usually some sort of news/documentary/spokenwords) are quite useful, because many applications know how to interpret them so one can "subscribe" to those feeds.
I like it a lot when I commute. A few taps on the phone and I can see what new stuff came in and queue up what interests me. Once you get used to the concept, it beats listening to actual radio. Except for those situations where you want to listen to what's on right now.
Quote:
Originally Posted by dugan
Yes. It's been banned.
I can't believe someone rated its post as helpful.
Sounds like a lot of the respondents would like newsboat/podboat. There are two tui apps. You paste your feeds into text file (that's the subscriptions), and launch the first one: newsboat. It shows you each feed, and allows you to navigate to the episodes in each one. For each episode you want to download, you press "e", for "enqueue". Then you close newsboat and start podboat. That shows you your download queue. You can edit it, or download the files in it by pressing more hotkeys. The end result is that you get the episodes on disk as audio files.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.