From 6c9980d75f732bb7aa02df5a8f16ca7d6b42b3f4 Mon Sep 17 00:00:00 2001 From: 7x11x13 Date: Thu, 30 Nov 2023 18:11:32 -0500 Subject: [PATCH] Fix warning --- free_bandcamp_downloader/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/free_bandcamp_downloader/__main__.py b/free_bandcamp_downloader/__main__.py index 64fd07b..69c8072 100644 --- a/free_bandcamp_downloader/__main__.py +++ b/free_bandcamp_downloader/__main__.py @@ -263,7 +263,7 @@ class BCFreeDownloader: def download_label(self, url: str, force: bool = False): r = self.session.get(url) r.raise_for_status() - soup = BeautifulSoup(r.text) + soup = BeautifulSoup(r.text, "html.parser") for album_title in soup.find_all("p", class_="title"): album_link = urljoin(url, album_title.parent.attrs["href"]) logger.info(f"Downloading {album_link}")