mirror of
https://github.com/Wojtek242/qobuz-dl.git
synced 2024-12-22 07:14:39 +01:00
Fix #60
This commit is contained in:
parent
a73d5c7d15
commit
5cda0e403c
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user