music-kraken-core/src/metal_archives.py

16 lines
284 B
Python
Raw Normal View History

2023-03-02 15:23:02 +00:00
from music_kraken import objects
2023-01-30 22:54:21 +00:00
2023-03-02 06:59:53 +00:00
2023-01-23 23:16:10 +00:00
from music_kraken.pages import (
EncyclopaediaMetallum
2022-12-06 16:55:07 +00:00
)
2022-11-24 13:13:55 +00:00
2023-03-13 13:47:49 +00:00
2023-03-14 12:36:05 +00:00
results = EncyclopaediaMetallum.search_by_query("#a Ghost Bath")
2023-03-10 17:38:32 +00:00
2023-03-02 15:23:02 +00:00
artist = results[0]
artist: objects.Artist = EncyclopaediaMetallum.fetch_details(artist)
2023-03-14 11:02:58 +00:00
2023-03-10 20:53:25 +00:00
print(artist.options)
print()