fix: don't add year as artist
This commit is contained in:
parent
e3d7ed8837
commit
a0305a7a6e
@ -6,9 +6,9 @@ logging.getLogger().setLevel(logging.DEBUG)
|
||||
|
||||
if __name__ == "__main__":
|
||||
commands = [
|
||||
"s: #a Crystal F",
|
||||
"10",
|
||||
"2",
|
||||
"s: #a Happy Days",
|
||||
"7",
|
||||
"9",
|
||||
]
|
||||
|
||||
|
||||
|
@ -681,6 +681,9 @@ class Musify(Page):
|
||||
anchor: BeautifulSoup = artist_crumb.find("a")
|
||||
if anchor is not None:
|
||||
href = anchor.get("href")
|
||||
|
||||
href_parts = href.split("/")
|
||||
if not(len(href_parts) <= 1 or href_parts[-2] != "artist"):
|
||||
artist_source_list: List[Source] = []
|
||||
|
||||
if href is not None:
|
||||
|
Loading…
Reference in New Issue
Block a user