prioritized youtube over musify to make 1. my downloader more legal, 2. To get the reliability of ISRC's

This commit is contained in:
lars 2022-11-06 23:02:44 +01:00
parent ecc0c72cea
commit ebb6af7959

View File

@ -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: