diff --git a/irs/manage.py b/irs/manage.py index ebe4af3..bb8a04f 100644 --- a/irs/manage.py +++ b/irs/manage.py @@ -27,8 +27,6 @@ def find_mp3(song, artist, html_content = urlopen("http://www.youtube.com/results?" + query_string) search_results = findall(r'href=\"\/watch\?v=(.{11})', html_content.read().decode()) - no_download_terms = ["full album"] - in_title = False i = -1 given_up_score = 0 @@ -48,7 +46,7 @@ def find_mp3(song, artist, for song in song_title: song = strip_special_chars(song) - if song in title and any(term in song for term in no_download_terms): + if song in title and "full album" not in title: in_title = True print (bc.OKGREEN + "Found youtube link! \n" + bc.ENDC) diff --git a/setup.py b/setup.py index ec3713b..c00f65d 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup setup( name='irs', - version='1.5.9', + version='1.5.10', description='A music downloader that just gets metadata.', url='https://github.com/kepoorhampond/irs', author='Kepoor Hampond',