mirror of
https://github.com/cooperhammond/irs.git
synced 2025-03-23 16:25:06 +00:00
Added the search to look for a lyric video for more accuracy.
This commit is contained in:
parent
b50675778b
commit
d7dc97eb68
|
@ -21,7 +21,7 @@ def find_mp3(song, artist,
|
||||||
os.system("clear")
|
os.system("clear")
|
||||||
print (color(song, ["BOLD", "UNDERLINE"]) + ' by ' + color(artist, ["BOLD", "UNDERLINE"]))
|
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)})
|
query_string = urlencode({"search_query" : (search_terms)})
|
||||||
|
|
||||||
html_content = urlopen("http://www.youtube.com/results?" + query_string)
|
html_content = urlopen("http://www.youtube.com/results?" + query_string)
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -2,7 +2,7 @@ from setuptools import setup
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='irs',
|
name='irs',
|
||||||
version='1.6.11',
|
version='1.6.12',
|
||||||
description='A music downloader that just gets metadata.',
|
description='A music downloader that just gets metadata.',
|
||||||
url='https://github.com/kepoorhampond/irs',
|
url='https://github.com/kepoorhampond/irs',
|
||||||
author='Kepoor Hampond',
|
author='Kepoor Hampond',
|
||||||
|
|
Loading…
Reference in a new issue