From 072f220f1aae65225539e48afd9fb1552ba0a157 Mon Sep 17 00:00:00 2001 From: Hellow Date: Mon, 3 Apr 2023 16:46:00 +0200 Subject: [PATCH] Update actual_donwload.py --- src/actual_donwload.py | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/actual_donwload.py b/src/actual_donwload.py index f455b27..9a84d18 100644 --- a/src/actual_donwload.py +++ b/src/actual_donwload.py @@ -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)