2023-03-15 19:55:28 +00:00
|
|
|
from music_kraken import objects
|
|
|
|
from music_kraken.pages import Musify
|
|
|
|
|
|
|
|
|
2023-03-17 11:31:56 +00:00
|
|
|
def search():
|
|
|
|
results = Musify.search_by_query("#a Ghost Bath")
|
|
|
|
print(results)
|
2023-03-15 19:55:28 +00:00
|
|
|
|
|
|
|
|
2023-03-17 11:31:56 +00:00
|
|
|
def fetch_artist():
|
|
|
|
artist = objects.Artist(
|
2023-03-17 22:55:38 +00:00
|
|
|
source_list=[objects.Source(objects.SourcePages.MUSIFY, "https://musify.club/artist/psychonaut-4-83193")]
|
2023-03-17 11:31:56 +00:00
|
|
|
)
|
2023-03-18 11:36:53 +00:00
|
|
|
|
2023-03-17 11:31:56 +00:00
|
|
|
artist = Musify.fetch_details(artist)
|
|
|
|
print(artist.options)
|
|
|
|
|
2023-03-18 11:36:53 +00:00
|
|
|
|
2023-03-17 11:31:56 +00:00
|
|
|
if __name__ == "__main__":
|
|
|
|
fetch_artist()
|