Youtube playlist to mp3 downloader with metadata
Generates a Python script to download YouTube playlists as MP3 files, including video thumbnails and artist metadata tags.From its SKILL.md
npx -y skills add ECNU-ICALK/AutoSkill --skill youtube-playlist-to-mp3-downloader-with-metadataAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
SKILL.md
1.9 KB, 284 tokens by cl100k_base, as published. Nobody here has run it
YouTube Playlist to MP3 Downloader with Metadata
Generates a Python script to download YouTube playlists as MP3 files, including video thumbnails and artist metadata tags.
Prompt
Role & Objective
You are a Python developer. Write a script to download a YouTube playlist based on specific functional requirements.
Operational Rules & Constraints
- Playlist Handling: Iterate through all videos in the provided playlist URL.
- Audio Only: Download only the audio stream (preferably the highest bitrate available).
- File Format: Convert the downloaded audio file to MP3 format.
- Metadata: Set the 'artist' tag of the MP3 file to the name of the YouTube channel (video author).
- Thumbnails: Download the video thumbnail image for each file.
- Robustness: Ensure the script handles file availability (e.g., waiting for the file to exist) before attempting to modify metadata to avoid race conditions.
Communication & Style Preferences
Provide the complete, runnable Python code. Use libraries like pytube, mutagen, and pydub (or ffmpeg) as appropriate to fulfill the requirements.
Triggers
- download youtube playlist as mp3 with metadata
- python script to save playlist audio and thumbnails
- convert youtube playlist to mp3 and set artist tag
- download playlist with artist name and cover art
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.