Update actual_donwload.py
This commit is contained in:
parent
37854e30e0
commit
072f220f1a
@ -11,23 +11,25 @@ def search_pages():
|
|||||||
print()
|
print()
|
||||||
print(search)
|
print(search)
|
||||||
|
|
||||||
search.choose(pages.Musify)
|
search.choose_page(pages.Musify)
|
||||||
|
|
||||||
print()
|
print()
|
||||||
print(search)
|
print(search)
|
||||||
|
|
||||||
search.choose(0)
|
search.choose_index(0)
|
||||||
print(search)
|
print(search)
|
||||||
|
|
||||||
|
|
||||||
def direct_download():
|
def direct_download():
|
||||||
search = pages.Search()
|
search = pages.Search()
|
||||||
|
|
||||||
search.search_url("https://www.metal-archives.com/bands/Ghost_Bath/3540372489")
|
search.search_url("https://www.metal-archives.com/bands/Ghost_Bath/3540372489")
|
||||||
print(search)
|
print(search)
|
||||||
|
|
||||||
search.search_url("https://musify.club/artist/ghost-bath-280348")
|
search.search_url("https://musify.club/artist/ghost-bath-280348")
|
||||||
print(search)
|
print(search)
|
||||||
|
|
||||||
|
|
||||||
def download_audio():
|
def download_audio():
|
||||||
song = Song(
|
song = Song(
|
||||||
source_list=[
|
source_list=[
|
||||||
@ -38,7 +40,7 @@ def download_audio():
|
|||||||
Target(relative_to_music_dir=True, path="example", file="waste_of_skin_2")
|
Target(relative_to_music_dir=True, path="example", file="waste_of_skin_2")
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
pages.Musify.download_song(song)
|
pages.Musify.download_song(song)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user