Fix downloading trackless albums
This commit is contained in:
@@ -256,6 +256,11 @@ class BCFreeDownloader:
|
||||
self.mail_album_data[url] = album_data
|
||||
else:
|
||||
logger.info(f"{url} does not require email")
|
||||
if not tralbum_data["freeDownloadPage"]:
|
||||
logger.warning(
|
||||
"Album has no download link (probably has no tracks). Skipping..."
|
||||
)
|
||||
return
|
||||
self._download_file(
|
||||
tralbum_data["freeDownloadPage"], self.options.format, album_data
|
||||
)
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
[tool.poetry]
|
||||
name = "free-bandcamp-downloader"
|
||||
version = "0.1.4"
|
||||
version = "0.1.5"
|
||||
description = "Download free and name-your-price albums from Bandcamp"
|
||||
authors = ["7x11x13 <x7x11x13@gmail.com>"]
|
||||
license = "MIT"
|
||||
|
||||
Reference in New Issue
Block a user