music-kraken-core/src/actual_donwload.py

33 lines
619 B
Python
Raw Normal View History

2023-03-30 08:49:17 +00:00
import music_kraken
from music_kraken import pages
def search_pages():
2023-03-29 11:39:55 +00:00
search = pages.Search()
print("metadata", search.pages)
print("audio", search.audio_pages)
2023-03-29 18:56:57 +00:00
print()
2023-03-28 16:40:56 +00:00
print(search)
2023-03-29 18:56:57 +00:00
2023-03-29 10:00:40 +00:00
search.choose(pages.Musify)
2023-03-29 18:56:57 +00:00
2023-03-29 10:00:40 +00:00
print()
print(search)
2023-03-29 18:56:57 +00:00
2023-03-29 10:00:40 +00:00
search.choose(0)
2023-03-29 09:53:55 +00:00
print(search)
2023-03-30 10:31:37 +00:00
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)
if __name__ == "__main__":
2023-03-30 10:43:43 +00:00
music_kraken.cli()