Update README.md

This commit is contained in:
Ritiek Malhotra
2016-07-15 23:13:33 +05:30
committed by GitHub
parent 1637b28178
commit 8a65368b4f

View File

@@ -5,6 +5,8 @@ My first GitHub Repository (sorry for any mistakes)
This python script allows downloading songs instantly by just entering the name of the song This python script allows downloading songs instantly by just entering the name of the song
and the artist. and the artist.
![Alt text](http://i.imgur.com/PNCSu36.png "Downloading")
![Alt text](http://i.imgur.com/4nOKahr.png "Converting")
# Dependencies: # Dependencies:
@@ -13,10 +15,10 @@ pip install mechanize
pip install bs4 pip install bs4
pip install pafy pip install pafy
``` ```
[OPTIONAL] If you want to convert downloaded music to mp3 (from m4a) install ffmpeg: [OPTIONAL] If you want to convert downloaded music to mp3 (from m4a) install avconv:
``` ```
sudo apt-get install ffmpeg sudo apt-get install libav-tools
or download from https://ffmpeg.zeranoe.com/builds/ for windows or download from https://libav.org/download/ for windows
``` ```
# Installation & Usage: # Installation & Usage:
@@ -38,6 +40,7 @@ YTMusic
``` ```
1. play - will play the last song downloaded using default music player 1. play - will play the last song downloaded using default music player
2. spotify - downloads songs from spotify playlist (see below:) 2. spotify - downloads songs from spotify playlist (see below:)
3. convert - will convert all your m4a songs into mp3
3. exit - exit the script 3. exit - exit the script
``` ```