YOUTUBE DOWNLOADER

by Ginko Balboa

Posted on April, 2018

Share


1. General info

GitHub license Github size GitHub issues GitHub forks GitHub stars

Simple Pyhton script that uses Selenium and the website convert2mp3.net for automatic conversion od YouTube videos to MP3 and downloading them to the PC.

2. Contributing

This is small script, and I doubt that there will be any contributing but anyway I'm grateful to the community for bug-fixes and improvements.

3. How to use

Run the script from Windows or Linux console

user@pc:path/to/YouTubeDownloader$ python ./webWorker.py

The script then reads the file songs.txt and downloads every song in that file changing the file name of the mp3 in the format <author> - <title>.mp3.

The Downloads are placed in the default chrome download folder (that is the default Download folder on your system).

The text in the file songs.txt is formated in the following way:

<link>...<author>-<title>
   .
   .
   .
<link>...<author>-<title>
END

for example:

https://www.youtube.com/watch?v=4q9UafsiQ6k...Pearl Jam-Black
https://www.youtube.com/watch?v=hs8y3kneqrs...Pearl Jam-Yellow Ledbetter
https://www.youtube.com/watch?v=y8AWFf7EAc4...Jeff Buckley-Hallelujah
https://www.youtube.com/watch?v=YlUKcNNmywk&list=RDEMf5I_WGknwqULRz9t7aGnjw...Red Hot Chili Peppers-Californication
END

Windows

The web driver that is used is chromedriver.exe.

Linux

The web driver that is used is chromedriver.

4. License

The YouTubeDownloader is released under the GNU General Public License

5. Version info

  • 1.0.0 : Initial release.

6. Download

You can download zipped project from the GitHub by clicking here. Also you can visit the GitHub page of the project by clicking on the link: YouTube Downloader GitHub.