Coders Packet

Youtube Video Downloader and Mp3 Converter via Python

By Syeed Chowdhury Jahin

This Python program downloads youtube video singly or in batches and then converts them into audio format.

This packet has three sections.The main section in main.py declares the action done in the program such as

(1) Download YouTube Videos Manually
(2) Download a YouTube Playlist
(3) Download YouTube Videos and Convert Into MP3

By using audio.write function from VideoFileClip in movie.editor the files are converted ti mp3 format.
The file youtube_downloader.py is responsible for th downloads.
def input_links takes in user input and those input links are passed in as arguments in download_playlist and download_videos.
choose_resolution fixes the resolution upon download.

Download Complete Code

Comments

No comments yet