Turn YouTube Playlists into Audiobooks with Pigeon Pod
Ever find a great YouTube playlist—a lecture series, a collection of talks, or a narrated story—and wish you could listen to it like a podcast on your commute or walk? Manually downloading and stitching those videos together is a hassle. What if you could just point a tool at a playlist and get back a clean, well-organized audio file?
That's exactly what Pigeon Pod does. It’s a neat little open-source tool that automates the process of converting YouTube playlists into single, continuous audio files, structured like chapters in an audiobook. No more tab-hopping or dealing with ads mid-flow.
What It Does
Pigeon Pod is a Python-based tool that takes a YouTube playlist URL, fetches all the video audio tracks, downloads and merges them into one MP3 file, and then embeds chapter markers for each original video. The result is a single audio file you can load onto your phone or music player, where you can easily skip between sections just like a professional audiobook or podcast.
Why It’s Cool
The clever part isn't just the downloading—it's the organization. Pigeon Pod doesn't just dump a bunch of MP3s into a folder. It uses the ffmpeg and yt-dlp power duo to handle the fetching and processing, but then it goes a step further by creating proper metadata chapters. Each video in the playlist becomes a named chapter in the final file, so you know exactly where you are.
It’s also built with a simple, configurable Python script. You can tweak the output quality, specify download directories, and it even handles error logging gracefully if a video is unavailable. This makes it perfect for archiving educational content, curating long-form listening material from conference talks, or even creating personal podcast feeds from favorite creators.
How to Try It
Getting started is straightforward. You’ll need Python and ffmpeg installed on your system.
-
Clone the repository:
git clone https://github.com/aizhimou/pigeon-pod.git cd pigeon-pod -
Install the required Python packages:
pip install -r requirements.txt -
Ensure
ffmpegis installed and accessible in your system's PATH. -
Run the script with a YouTube playlist URL:
python main.py --url "https://www.youtube.com/playlist?list=YOUR_PLAYLIST_ID"
The script will churn for a bit (depending on playlist length), and your finished audiobook MP3 will appear in the project folder, complete with chapters.
Final Thoughts
Pigeon Pod solves a specific problem really well. It’s one of those utilities that feels obvious once you see it. As developers, we often consume tech content in audio form, and this tool elegantly bridges the gap between YouTube’s vast library and our podcast-style listening habits. It’s also a great example of a focused, practical script that does its job without unnecessary complexity. Give it a spin with that deep-dive playlist you’ve been meaning to get through—you might just find your new favorite way to learn.
Find more interesting projects like this by following @githubprojects on Twitter.
Repository: https://github.com/aizhimou/pigeon-pod