This is a command-line tool that helps you to download multiple music videos from YouTube, convert them to audio, trim them to a specified duration, and merge them into a single audio file.
- Python 3.x 
- Pytube (pip install pytube)
- MoviePy (pip install moviepy)
- Requests (pip install requests)
- Clone the repository: git clone https://github.com/username/repo.git
- Change directory to the project: cd youtube-music-downloader
- Install the required dependencies: pip install -r requirements.txt
Run the following command to start downloading music videos from YouTube: 
python youtube-music-downloader.py <singer-name> <seconds> <number-of-songs> <output-filename>
singer-name: Name of the singer or band.
seconds: Duration in seconds for the final audio file.
number-of-songs: Number of songs to download and merge.
output-filename: Name of the final audio file.
Example: python youtube-music-downloader.py "Ed Sheeran" 60 5 result.mp3
This command will download 5 music videos of Ed Sheeran from YouTube, convert them to audio, trim them to 60 seconds each, merge them into a single audio file, and save it as "result.mp3".
The tool also includes an email feature that sends the final audio file to a specified email address. To use this feature, you need to provide your email address and the Gmail App password in the code.