Skip to content
This repository was archived by the owner on Jun 26, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions rymscraper/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,11 @@ def get_album_infos(soup: BeautifulSoup) -> dict:
except Exception as e:
print(f"Error in fetching album colorscheme: {e}")

try:
album_infos["Cover"] = f"https:{soup.find('a', {'href': 'buy/'}).div.img['src']}"
except Exception as e:
print(f"Error fetching album cover: {e}")

return album_infos


Expand Down