Update actual_donwload.py

This commit is contained in:
Hellow 2023-04-03 16:46:00 +02:00
parent 37854e30e0
commit 072f220f1a

View File

@ -11,23 +11,25 @@ def search_pages():
print()
print(search)
search.choose(pages.Musify)
search.choose_page(pages.Musify)
print()
print(search)
search.choose(0)
search.choose_index(0)
print(search)
def direct_download():
search = pages.Search()
search.search_url("https://www.metal-archives.com/bands/Ghost_Bath/3540372489")
print(search)
search.search_url("https://musify.club/artist/ghost-bath-280348")
print(search)
def download_audio():
song = Song(
source_list=[
@ -38,7 +40,7 @@ def download_audio():
Target(relative_to_music_dir=True, path="example", file="waste_of_skin_2")
]
)
pages.Musify.download_song(song)