Skip to content

Commit

Permalink
Fix label download
Browse files Browse the repository at this point in the history
  • Loading branch information
7x11x13 committed Nov 30, 2023
1 parent ac2bb58 commit 894ef8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion free_bandcamp_downloader/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ def download_label(self, url: str, force: bool = False):
r.raise_for_status()
soup = BeautifulSoup(r.text)
for album_title in soup.find_all("p", class_="title"):
album_link = album_title.parent.attrs["href"]
album_link = urljoin(url, album_title.parent.attrs["href"])
logger.info(f"Downloading {album_link}")
try:
self.download_album(album_link, force)
Expand Down

0 comments on commit 894ef8f

Please sign in to comment.