This commit is contained in:
vitiko98 2021-02-03 17:05:00 -04:00
parent a73d5c7d15
commit 5cda0e403c
2 changed files with 3 additions and 2 deletions

View File

@ -14,6 +14,7 @@ from pathvalidate import sanitize_filename
import qobuz_dl.spoofbuz as spoofbuz
from qobuz_dl import downloader, qopy
from qobuz_dl.color import CYAN, OFF, RED, YELLOW, DF, RESET
from qobuz_dl.exceptions import NonStreamable
from qobuz_dl.db import create_db, handle_download_id
WEB_URL = "https://play.qobuz.com/"
@ -122,7 +123,7 @@ class QobuzDL:
self.no_cover,
)
handle_download_id(self.downloads_db, item_id, add_id=True)
except requests.exceptions.RequestException as e:
except (requests.exceptions.RequestException, NonStreamable) as e:
logger.error(f"{RED}Error getting release: {e}", exc_info=True)
def handle_url(self, url):

View File

@ -13,7 +13,7 @@ requirements = read_file("requirements.txt").strip().split()
setup(
name=pkg_name,
version="0.9.4",
version="0.9.5",
author="Vitiko",
author_email="vhnz98@gmail.com",
description="The complete Lossless and Hi-Res music downloader for Qobuz",