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__":
|
if __name__ == "__main__":
|
||||||
commands = [
|
commands = [
|
||||||
"s: #a Crystal F",
|
"s: #a Happy Days",
|
||||||
"10",
|
"7",
|
||||||
"2",
|
"9",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
@ -681,6 +681,9 @@ class Musify(Page):
|
|||||||
anchor: BeautifulSoup = artist_crumb.find("a")
|
anchor: BeautifulSoup = artist_crumb.find("a")
|
||||||
if anchor is not None:
|
if anchor is not None:
|
||||||
href = anchor.get("href")
|
href = anchor.get("href")
|
||||||
|
|
||||||
|
href_parts = href.split("/")
|
||||||
|
if not(len(href_parts) <= 1 or href_parts[-2] != "artist"):
|
||||||
artist_source_list: List[Source] = []
|
artist_source_list: List[Source] = []
|
||||||
|
|
||||||
if href is not None:
|
if href is not None:
|
||||||
|
Loading…
Reference in New Issue
Block a user