music-kraken-core/src/metal_archives.py

14 lines
282 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-11 12:36:08 +00:00
results = EncyclopaediaMetallum.search_by_query("#a Only Smile")
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-10 20:53:25 +00:00
print(artist.options)
print()