From ebb6af795972a71fc6cfa549346d4b69e3e2346d Mon Sep 17 00:00:00 2001 From: lars Date: Sun, 6 Nov 2022 23:02:44 +0100 Subject: [PATCH] prioritized youtube over musify to make 1. my downloader more legal, 2. To get the reliability of ISRC's --- src/download_links.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/download_links.py b/src/download_links.py index 16a8c0d..b3e1e80 100644 --- a/src/download_links.py +++ b/src/download_links.py @@ -19,18 +19,18 @@ class Download: id_ = row['id'] - # check musify - musify_url = musify.get_musify_url(row) - if musify_url is not None: - self.add_url(musify_url, 'musify', id_) - continue - # check YouTube youtube_url = youtube_music.get_youtube_url(row) if youtube_url is not None: self.add_url(youtube_url, 'youtube', id_) continue + # check musify + musify_url = musify.get_musify_url(row) + if musify_url is not None: + self.add_url(musify_url, 'musify', id_) + continue + # check musify again, but with a different methode that takes longer musify_url = musify.get_musify_url_slow(row) if musify_url is not None: