CLI app to get podcast feed URLs
I've been getting into podcasts recently, and I've noticed that, a) a lot of clients expect you to just give them the RSS feeds that you want to subscribe to, and b) those RSS feeds aren't always easy to find.
So I kludged up a small script to query for them. Code:
#!/usr/bin/env bash Code:
podfeed "You Must Remember"
Narrow down the list by typing, or use the arrow keys to make a selection, and press ENTER. Then you'll see: Code:
You Must Remember Manson I'll decline to link to the iTunes search API documentation, as all I did was look at what CPod does: https://github.com/z-------------/CP...ch-podcasts.js For more ideas on what you can do with FZF, see here: How FZF and ripgrep improved my workflow |
That's pretty neat, Dugan. My only question is whether it would be better to store the result of the first search in a variable, that way you don't need to call the same URL again?
Something like this? Code:
#!/usr/bin/env bash |
I wrote another implementation using skim. This one will just give you a prompt and an autocomplete. It's slightly less responsive because it's sending a request to itunes with each keystroke.
pdfd script to make it work: Code:
#!/usr/bin/env bash Code:
#!/usr/bin/env bash |
All times are GMT -5. The time now is 01:06 AM. |