Added the search to look for a lyric video for more accuracy.

This commit is contained in:
Kepoor Hampond 2016-12-21 15:12:32 -08:00
parent b50675778b
commit d7dc97eb68
2 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@ def find_mp3(song, artist,
os.system("clear")
print (color(song, ["BOLD", "UNDERLINE"]) + ' by ' + color(artist, ["BOLD", "UNDERLINE"]))
search_terms = song + " " + artist
search_terms = song + " " + artist + " lyrics"
query_string = urlencode({"search_query" : (search_terms)})
html_content = urlopen("http://www.youtube.com/results?" + query_string)

View file

@ -2,7 +2,7 @@ from setuptools import setup
setup(
name='irs',
version='1.6.11',
version='1.6.12',
description='A music downloader that just gets metadata.',
url='https://github.com/kepoorhampond/irs',
author='Kepoor Hampond',