Skip to content

Commit

Permalink
Merge pull request #54 from sgvictorino/fix-empty-album-desc
Browse files Browse the repository at this point in the history
fix: show album descriptions
  • Loading branch information
rramiachraf authored Apr 6, 2024
2 parents 609f9d0 + 61d2171 commit f4f5bab
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion data/album.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ func (a *Album) parseAlbumData(doc *goquery.Document) error {
a.Image = albumData.Image
a.About[0] = albumData.Description
a.About[1] = truncateText(albumData.Description)
a.About[1] = ""

for _, track := range albumMetadataFromPage.AlbumAppearances {
url := strings.Replace(track.Song.Url, "https://genius.com", "", -1)
Expand Down

0 comments on commit f4f5bab

Please sign in to comment.