fetching name
This commit is contained in:
@@ -68,6 +68,17 @@ func parseArtistContact(contact *goquery.Selection) data.Artist {
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
# artist image
|
||||
image_soup = contact.find("img")
|
||||
if image_soup is not None:
|
||||
alt = image_soup.get("alt")
|
||||
if alt is not None:
|
||||
name = alt
|
||||
|
||||
artist_thumbnail = image_soup.get("src")
|
||||
*/
|
||||
|
||||
return artist
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user