Fix warning

This commit is contained in:
7x11x13
2023-11-30 18:11:32 -05:00
parent 894ef8fa93
commit 6c9980d75f
+1 -1
View File
@@ -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}")