Merge pull request #23 from kepoorhampond/find-yt-link-twice

Fixed annoying bug where it prints Finding Youtube link ... twice
This commit is contained in:
Kepoor Hampond 2017-05-04 21:43:19 -07:00 committed by GitHub
commit 8ec388964d

View file

@ -111,6 +111,9 @@ class Ripper:
def find_yt_url(self, song=None, artist=None, additional_search=None):
if additional_search is None:
additional_search = Config.parse_search_terms(self)
else:
print("Finding Youtube link ...")
try:
if not song:
song = self.args["song_title"]