Skip to content

Latest commit

 

History

History
61 lines (41 loc) · 1.56 KB

examples.md

File metadata and controls

61 lines (41 loc) · 1.56 KB

Examples

Download all podcast episodes

npx podcast-dl --url "http://eightfour.libsyn.com/rss"

Download all podcast episodes (4 episodes at a time)

npx podcast-dl --threads 4 --url "http://eightfour.libsyn.com/rss"

Download all episodes to a different directory

npx podcast-dl --out-dir "./another/directory" --url "http://eightfour.libsyn.com/rss"

Download all episodes to their own directory

npx podcast-dl --episode-template "{{title}}/{{title}}" --url "http://eightfour.libsyn.com/rss"

Download the last 10 episodes

npx podcast-dl --limit 10 --url "http://eightfour.libsyn.com/rss"

Download the first 10 episodes

npx podcast-dl --limit 10 --reverse --url "http://eightfour.libsyn.com/rss"

Download all episodes released in 2021

npx podcast-dl --after "01/01/2021" --before "12/31/2021" --url "http://eightfour.libsyn.com/rss"

Download all episodes with "Zelda" in the title

npx podcast-dl --episode-regex "Zelda" --url "http://eightfour.libsyn.com/rss"

Convert all episodes to MP3s at 192k bitrate with ffmpeg

npx podcast-dl --url "http://eightfour.libsyn.com/rss" --exec "ffmpeg -i {{episode_path}} -b:a 192k -f mp3 {{episode_path_base}}/{{episode_filename_base}}-192k.mp3"

Extract "foo" and "bar" from the episode title and place it in the episode filename

npx podcast-dl --url "http://eightfour.libsyn.com/rss" --episode-custom-template-options "foo" "bar" --episode-template "{{custom_0}}-{{custom_1}}-{{episode_num}}""