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)