From ab4c4197c5757ea709b13d7a7a0096e3ab8e534b Mon Sep 17 00:00:00 2001 From: Kepoor Hampond Date: Tue, 14 Feb 2017 20:08:44 -0800 Subject: [PATCH] Finally fixed single song downloading. --- irs/manager.py | 3 ++- setup.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/irs/manager.py b/irs/manager.py index 3502240..0a013c0 100644 --- a/irs/manager.py +++ b/irs/manager.py @@ -44,6 +44,7 @@ class Manager: if media == 1: self.args.song = color_input("Song you would like to download") + self.args.artist = color_input("Name of artist") self.rip_mp3() elif media == 2: @@ -64,7 +65,7 @@ class Manager: print (color(song, ["BOLD", "UNDERLINE"]) + ' by ' + color(artist, ["BOLD", "UNDERLINE"])) - search_terms = song + " " + artist + " " + CONFIG["additional_search_terms"] + search_terms = song + " " + artist + " " + CONFIG["additional_search_terms"] 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 9e40d4f..42f3e1e 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup setup( name='irs', - version='3.3.1', + version='3.3.2', description='A music downloader that just gets metadata.', url='https://github.com/kepoorhampond/irs', author='Kepoor Hampond',