From d7dc97eb681d9d5f193800686dc3c59b05b8f48c Mon Sep 17 00:00:00 2001 From: Kepoor Hampond Date: Wed, 21 Dec 2016 15:12:32 -0800 Subject: [PATCH] Added the search to look for a lyric video for more accuracy. --- irs/manage.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/irs/manage.py b/irs/manage.py index 4cbbaaf..dd9c83f 100644 --- a/irs/manage.py +++ b/irs/manage.py @@ -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) diff --git a/setup.py b/setup.py index 4d3f91d..847282b 100644 --- a/setup.py +++ b/setup.py @@ -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',