|
1 | 1 | #Open Song
|
2 | 2 | ###Open youtube song from cli
|
3 | 3 | ###STEPS
|
4 |
| --####Install dependencies`BeautifulSoup` and`Requests` thorugh[pip](https://pip.pypa.io/en/stable/') |
5 |
| --```bash |
| 4 | +-####Install dependencies`BeautifulSoup` and`Requests` through[pip](https://pip.pypa.io/en/stable/') |
| 5 | +```bash |
| 6 | + |
6 | 7 | cd /path/to/I-Learn-Python/open-song
|
7 | 8 | python3 open-song.py
|
| 9 | + |
8 | 10 | ```
|
9 |
| --#### You can also alias the command if you quickly wanna open it from the terminal |
10 |
| -``` sh |
| 11 | +-#### You can also alias the command if you quickly want open it from the terminal |
| 12 | +``` bash |
| 13 | +
|
11 | 14 | echoalias open-song='python3 /path/to/open-song.py/'>>~/.bash_aliases
|
| 15 | +source~/.bashrc |
| 16 | + open-song"the dark side of the moon - Pink Floyd""Heathens - 21 pilots""AR Rahman" |
| 17 | +
|
12 | 18 | ```
|
13 | 19 |
|